Що робить функція 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
10 questions
Списки Python + Pygame

Quiz
•
KG - University
19 questions
Основні поняття інформатики. Сучасні інформаційні технології та системи

Quiz
•
10th Grade
11 questions
Безпека в Інтернеті

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

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

Quiz
•
10th Grade
10 questions
pyTelegramBotAPI Quiz

Quiz
•
10th Grade
10 questions
Безпека в Інтернеті

Quiz
•
9th - 12th Grade
14 questions
Python: списки, кортеж, словник, множина

Quiz
•
9th - 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
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
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

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

Quiz
•
9th - 12th Grade