Search Header Logo

методы строк в питоне

Authored by Жанар Абдуллаевна

Computers

7th Grade

Used 28+ times

методы строк в питоне
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x="text1"

проверьте текст на наличие букв

s.isnumeric()

s.islower()

s.title()

s.isalpha()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Какой результат выдаст операция 'spam' * 3?

spamspamspam

spameggs

s

ameg

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что такое длина строки в Python?

len(s)

s.isdigit()

s.isalpha()

s.isupper()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

За что отвечает метод string.split()?

за извлечение подстроки

за замену строки

за удаление строки

за разбиение строки

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

укажите результат программы

s="python is programming language "

print(s.startswith("is"))

true

false

7

8

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

укажите результат программы

s="python is programming language"

print(s.endswith("age"))

true

false

language

23

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Какой результат выдаст операция 'spameggs'[::-1]?

me

sggemaps

eggs

spam

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?