Search Header Logo

Строки Python

Authored by Данила Янько

Mathematics

6th - 8th Grade

Used 3+ times

Строки Python
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

Как ввести строку с клавиатуры?

(Самый правильный способ)

s = int(input())

s = str(input())

s = input()

s = float(input())

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Как это сделать?

«УрА СкОро ЗиМа» -> «ура скоро зима»

s.swapcase()

s.lover()

s.lower()

s.upper()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

А вот так?

«Привет» -> «ПРИВЕТ»

s.count()

s.swapcase()

s.upper()

s.big()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что за метод нам позволит это сделать?

«С Новым Годом!» -> «с нОВЫМ гОДОМ!»

s.switchcase()

s.swapcase()

s.replacecase()

s.reverse()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что будет выведено?

s = «Магазин»

print(s.count(“а”))

а

2

Ничего

Ошибка

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что будет выведено?

s = «Магазин»

s = s.replace(«а», «о»)

print(s)

Магазин

Могазин

Могозин

Ошибка

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что будет выведено?

s = «Магазин»

print(s.find(«а»))

Ошибка

1

2

3

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?