Що виведе наступний код?

for. collections

Quiz
•
Computers
•
12th Grade
•
Hard
Дима Новостройный
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
0 1 2 3 4
1 2 3 4 5
0 1 2 3 4 5
1 2 3 4
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як створити список з числами від 1 до 5?
list = (1, 2, 3, 4, 5)
list = {1, 2, 3, 4, 5}
list = [1, 2, 3, 4, 5]
list = {1: "one", 2: "two", 3: "three", 4: "four", 5: "five"}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Що таке кортеж?
Змінюваний список
Незмінюваний список
Список словників
Набір унікальних значень
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як отримати значення за ключем 'name' зі словника person?
person(name)
person['name']
person.get('name')
b) та c) вірні
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Що виведе наступний код?
{1, 2, 3, 4, 5}
{3}
{1, 2, 3}
{}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як обійти всі елементи списку numbers за допомогою циклу for?
for i numbers:
for number in numbers:
for numbers in number:
for each in number:
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як додати елемент 6 до списку numbers = [1, 2, 3, 4, 5]?
numbers[6] = 6
numbers.insert(6)
numbers.append(6)
numbers.add(6)
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Python lists and tuples

Quiz
•
12th Grade
8 questions
SmartNotes 3

Quiz
•
9th - 12th Grade
12 questions
СКБД Access 10 клас

Quiz
•
1st - 12th Grade
13 questions
Python Fundamentals and Programming

Quiz
•
11th - 12th Grade
12 questions
Основи Python

Quiz
•
7th - 12th Grade
14 questions
Python Lambda Functions

Quiz
•
12th Grade
15 questions
Python Revision Tour - I

Quiz
•
12th Grade
12 questions
Основні відомості про СУБД Access

Quiz
•
1st - 12th Grade
Popular Resources on Quizizz
20 questions
math review

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

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
19 questions
Math Review

Quiz
•
3rd Grade
45 questions
7th Grade Math EOG Review

Quiz
•
7th Grade
Discover more resources for Computers
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade
20 questions
Insurance

Quiz
•
9th - 12th Grade
20 questions
Paying for College

Quiz
•
9th - 12th Grade
20 questions
Banking

Quiz
•
9th - 12th Grade
20 questions
Managing Credit

Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense

Quiz
•
10th - 12th Grade