Search Header Logo

Викторина по строкам в Python

Authored by V Lamento

Computers

11th Grade

Used 2+ times

Викторина по строкам в Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Какой оператор используется для конкатенации строк в Python?

+

/

-

*

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Какой метод возвращает длину строки в Python?

count()

size()

length()

len()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Какой оператор проверяет наличие подстроки в строке?

contains

in

has

includes

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Какой метод используется для преобразования строки в нижний регистр?

tolower()

lower()

make_lower()

downcase()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Какой метод используется для замены подстроки в строке?

alter()

swap()

change()

replace()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Какой метод используется для извлечения подстроки из строки?

slice()

substring()

cut()

extract()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Какой метод проверяет, состоит ли строка только из букв?

isstring()

isalpha()

isletters()

istext()

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?