Що робить функція len в Python?

10 клас, списки

Quiz
•
Computers
•
10th Grade
•
Medium
Vlad Melnychuk
Used 1+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Повертає довжину списку
Повертає список
Збільшує розмір списку
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Яка з наступних команд створює порожній список?
lst = { }
lst = [ ]
lst = ( )
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як додати елемент до списку?
lst.add(element)
lst.append(element)
lst.insert(element)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як видалити елемент зі списку за значенням?
lst.pop(value)
lst.remove(value)
lst.delete(value)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як отримати довжину списку?
length(lst)
lst.size()
lst.len()
len(lst)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Що поверне наступний код?
list = [1, 2, 3]
print(list[1])
1
2
3
Помилку
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як об'єднати два списки?
list1 + list2
list1.merge(list2)
list1.add(list2)
Create a free account and access millions of resources
Similar Resources on Quizizz
17 questions
Методи списків Python

Quiz
•
10th Grade
12 questions
Пітон. Списки.

Quiz
•
9th - 10th Grade
15 questions
Фотошоп

Quiz
•
10th Grade
12 questions
10 Клас Python tests

Quiz
•
10th Grade
10 questions
pyTelegramBotAPI Quiz

Quiz
•
10th Grade
12 questions
Python загальний тест

Quiz
•
9th - 12th Grade
11 questions
Інформаційні технології в суспільстві

Quiz
•
10th Grade
10 questions
Бази даних

Quiz
•
9th - 11th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University