
Python, строки и списки
Authored by Лера Гуляева
Computers
12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Что будет в результате следующей строки:
'13+'15'
'28'
28
'1315'
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Какие две арифметические операции можно совершать со строками?
Сложение
Деление
Умножение строки на строку
Умножение строки на число
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Какая функция используется для подсчета длины строки в Python?
len()
length()
size()
count()
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Какая функция используется для подсчета длины строки в Python?
len()
length()
size()
count()
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Как заменить текст в строке с помощью метода в Python?
string.modify(old, new)
string.update(old, new)
string.replace(old, new)
string.swap(old, new)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Как проверить наличие подстроки в строке в Python?
string_variable.index('substring') != -1
string_variable.search('substring')
string_variable.find('substring') != -1 or 'substring' in string_variable
string_variable.contains('substring')
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Как разделить строку на подстроки в Python?
string.cut()
string.divide()
string.separate()
string.split()
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?