
Python, строки и списки
Quiz
•
Computers
•
12th Grade
•
Medium
Лера Гуляева
Used 2+ times
FREE Resource
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()
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
16 questions
Python Functions
Quiz
•
9th - 12th Grade
16 questions
Python Looping with Integers
Quiz
•
9th - 12th Grade
20 questions
Data Type
Quiz
•
7th - 12th Grade
20 questions
security best practices
Quiz
•
10th Grade - University
18 questions
FOR and WHILE loop in Python
Quiz
•
9th - 12th Grade
15 questions
Excel
Quiz
•
12th Grade
20 questions
Unit 3 Python TEST
Quiz
•
11th - 12th Grade
20 questions
INTRODUCCIÓN A LOS ALGORITMOS
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
