1. Як створити список із 5 нулями?

Основи роботи зі списками в Python

Quiz
•
Computers
•
9th Grade
•
Hard
Юлія Токар
Used 2+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
[0, 0, 0, 0]
list(0, 5)
new_list = [0, 0, 0, 0, 0]
B) [0] * 5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. Як отримати перший елемент списку `arr = [10, 20, 30, 40]`?
arr[3]
arr.last()
B) arr[0]
arr[2]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. Як отримати останній елемент списку `arr`?
arr[len(arr)-1]
arr[0]
B) arr[-1]
arr[first]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. Що робить `arr.append(5)`?
Змінює значення 5 на 0
Додає 5 у середину списку
Повертає список без змін
C) Додає 5 у кінець списку
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Як увести список слів, розділених пробілом, із введення користувача?
A) arr = input().split()
arr = input().split_words()
arr = input().join()
arr = input().split(';')
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
8. Яка функція повертає довжину списку?
length(arr)
A) len(arr)
arr.count()
arr.getLength()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
10. Як перевірити, чи є елемент `x` у списку `arr`?
arr.includes(x)
x in list
A) x in arr
arr.check(x)
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Массивке енгізу және өшіру

Quiz
•
9th Grade
12 questions
Python 9 клас

Quiz
•
9th Grade
11 questions
Рядкові величи

Quiz
•
9th Grade
15 questions
Змінні 3.0

Quiz
•
4th Grade - University
11 questions
Тест з програмування

Quiz
•
9th Grade
10 questions
9 класс. Списки. Функции и методы для работы со списками

Quiz
•
9th Grade
12 questions
Елементи керування ListBox

Quiz
•
9th - 12th Grade
12 questions
Опрацювання текстових даних

Quiz
•
1st - 12th 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 Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

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

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade