Метод insert() вставляет значение в список по указанному индексу. Какой будет результат выполнения кода list = [1,2,3]; list.insert(1,5); print(list)?

Методы списков (повтор)

Quiz
•
Other
•
6th Grade
•
Medium
Сергей Кузнецов
Used 4+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
[1, 5, 2, 3]
[1, 2, 3, 5]
[5, 1, 2, 3]
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Какой результат выполнения метода pop() с индексом 1 для списка list = [1,2,3]?
[1, 3]
2
10
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой будет результат выполнения кода list = [1,2,3]; list.remove(1); print(list)?
[2, 3]
[1, 2, 3]
[1, 3]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как удалить все вхождения элемента в списке с помощью метода remove()?
Использовать цикл while
Использовать метод pop
Использовать метод sort
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой будет результат выполнения кода list = [1,2,3,1,1]; list.remove(1); print(list)?
[2, 3, 1]
[1, 2, 3, 1]
[2, 3, 1, 1]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой метод используется для сортировки элементов списка в Python?
sort()
remove()
insert()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой будет результат выполнения кода list = [4,5,6]; list.append(7); print(list)?
[4, 5, 6, 7]
[7, 4, 5, 6]
[4, 5, 6]
Similar Resources on Quizizz
10 questions
Физкультура 5-8 класс

Quiz
•
5th - 8th Grade
10 questions
Гарри Поттер

Quiz
•
1st - 10th Grade
7 questions
Условные операторы

Quiz
•
6th Grade
10 questions
Баскетбол

Quiz
•
KG - Professional Dev...
12 questions
Новогодняя викторина

Quiz
•
5th - 11th Grade
12 questions
ФУТБОЛ (М.Балотелли)

Quiz
•
1st Grade - University
10 questions
Списки. PYTHON

Quiz
•
3rd Grade - University
8 questions
Урок 1

Quiz
•
6th - 8th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Other
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
12 questions
Dividing Fractions

Quiz
•
6th Grade
9 questions
1. Types of Energy

Quiz
•
6th Grade
20 questions
Parts of Speech

Quiz
•
3rd - 6th Grade
6 questions
Final Exam: Monster Waves

Quiz
•
6th Grade
10 questions
Final Exam Grandfather's Chopsticks

Quiz
•
6th Grade