Что выведет код? my_list = [1, 2, 3] my_list.append([4, 5]) print(my_list)

Тест по Python

Quiz
•
Computers
•
11th Grade
•
Hard
Rasul Abdikerimov
Used 2+ times
FREE Resource
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
[1, 2, 3, 4, 5]
[1, 2, 3, [4, 5]]
[1, 2, 3, 4], [5]
TypeError
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой метод добавляет элемент в определенную позицию списка?
append()
insert()
extend()
add()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что выведет код? my_set = {1, 2, 3} my_set.add(4) print(my_set)
{1, 2, 3, 4}
[1, 2, 3, 4]
{1, 2, 3}
TypeError
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как удалить элемент из множества?
remove(x)
delete(x)
pop(x)
del(x)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что выведет код? my_list = [5, 2, 9, 1] my_list.sort() print(my_list)
[5, 2, 9, 1]
[1, 2, 5, 9]
{1, 2, 5, 9}
(1, 2, 5, 9)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как объединить два множества?
set1.merge(set2)
set1 + set2
set1 | set2
set1.union(set2)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что делает reverse()?
Переворачивает список
Удаляет последний элемент
Добавляет новый элемент в список
Преобразует список в множество
Create a free account and access millions of resources
Similar Resources on Quizizz
30 questions
[UTS GENAP] Komputer Akuntansi

Quiz
•
11th Grade
26 questions
AP CSP Unit 7: Parameters, Returns, and Libraries

Quiz
•
9th - 12th Grade
35 questions
01 - 06 handout

Quiz
•
11th Grade - University
33 questions
Test 2

Quiz
•
11th Grade
30 questions
JavaScript Основные понятия

Quiz
•
11th Grade
30 questions
Assessment Term 2.2 - Y9 U4 Python Search algorithms

Quiz
•
7th - 12th Grade
30 questions
Python L2 Programming Challenge

Quiz
•
3rd - 12th Grade
34 questions
Python Dictionary

Quiz
•
11th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade