
4.1-python
Authored by Данил Галкин
Computers
Professional Development

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
5 mins • 1 pt
Как создать пустую строку в Python?
empty = "d"
empty = None
empty = 's'
empty = []
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Как получить длину строки в Python?
len()
length()
size()
count()
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Какой метод используется для преобразования строки в нижний регистр в Python?
lower()
to_lower()
lowercase()
convert()
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Какой метод используется для замены определенной подстроки в строке на другую подстроку в Python?
replace()
swap()
modify()
substitute()
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Как проверить, состоит ли строка только из цифр в Python?
isalpha()
isdigit()
isalnum()
isnumeric()
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Как проверить, состоит ли строка только из буквенных символов в Python?
isalpha()
isdigit()
isalnum()
isnumeric()
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Как разделить строку на список?
split()
slice()
swap()
srez()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?