
Вложенные списки в Python
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Nina Sleptsova
Used 1+ times
FREE Resource
Enhance your content in a minute
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что такое многомерные списки в Python?
Многомерные списки в Python - это списки, элементами которых являются кортежи.
Многомерные списки в Python - это списки, элементами которых также являются списки.
Многомерные списки в Python - это списки, элементами которых являются словари.
Многомерные списки в Python - это списки, элементами которых являются множества.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как можно обратиться к элементу вложенного списка по индексу?
myList[0].1
myList[0,1]
myList[0][1]
myList[1][0]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как создать многомерный список в Python?
my_list = [1, 2, 3, 4, 5, 6, 7, 8, 9]
my_list = [(1, 2, 3), (4, 5, 6), (7, 8, 9)]
my_list = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
my_list = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как узнать количество элементов во вложенном списке?
sum(вложенный_список)
max(вложенный_список)
len(вложенный_список)
count(вложенный_список)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как добавить новый элемент во вложенный список?
my_list[index].push('new_element')
my_list[index].add('new_element')
my_list[index].append('new_element')
my_list[index].extend('new_element')
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как удалить элемент из вложенного списка по индексу?
my_list[index_outer].remove(index_inner)
my_list[index_outer].pop(index_inner)
my_list[index_outer].delete(index_inner)
my_list[index_outer][index_inner] = None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как объединить два вложенных списка в один?
list1.append(list2)
list1.merge(list2)
list1.extend(list2)
list1 + list2
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?
Similar Resources on Wayground
12 questions
Graph Paper Programming
Quiz
•
7th - 12th Grade
10 questions
Pretest Postest Sistem Komputer
Quiz
•
10th Grade
13 questions
Arrays in Swift
Quiz
•
10th - 12th Grade
14 questions
LA5.C5: Branching and Subroutines
Quiz
•
9th Grade - University
10 questions
Q3 M4 PRE TEST
Quiz
•
10th Grade
10 questions
Web Design: Pop Quiz
Quiz
•
10th - 12th Grade
9 questions
OCR GCSE CS - 2.1 ERL sorts and searches
Quiz
•
10th - 11th Grade
13 questions
Year 9 ICT Communication using the Internet
Quiz
•
8th - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
