
Python-4 темы
Authored by Уулкан Бейшеналиева
Computers
1st - 2nd Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ИВТ21 = set(["Жолдош", "Нурсултан", "Элмарт", "Айдар", "Милагрес", "Нурболот", "Асылай"])
ИВТ21.add("Эрлан")
print(ИВТ21)
Добавление элементов во множество
Добавление элементов список
Добавление элементов в кортеж
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
num_set = {1, 2, 3, 4, 5, 6}
num_set.discard(3)
print(num_set)
{1, 2, 4, 5, 6}
{1, 3, 4, 5, 6}
{1, 2, 4, 5, 6}
{3, 2, 4, 5, 6}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = {"Aidar", "Nuke", "Milli", "Argun", 2, 4}
print(len(a))
6
5
4
2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
v = {1, 2, 3, 4}
n = v.pop()
print(n)
print(v)
1
{2, 3, 4}
2
{2, 3, 4}
3
{2, 3, 4}
4
{2, 3, 4}
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
p_tup = ("Лондон", "Пекин", 44, True)
print(p_tup[0])
Лондон
Пекин
44
+
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
p_tup = ("Лондон", "Пекин", 44, True)
print(p_tup.index("Лондон"))
0
1
2
-1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
p_tup = (5, 101, 42, 3, 101)
print(p_tup.count(101))
2
1
3
5
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?