Тест по iterable(iterable 8)

Тест по iterable(iterable 8)

9th Grade

25 Qs

quiz-placeholder

Similar activities

Google Sheets Quiz

Google Sheets Quiz

9th Grade

20 Qs

BTEC IT Level 3 D2 Protecting Data - firewalls, passwords, etc

BTEC IT Level 3 D2 Protecting Data - firewalls, passwords, etc

7th - 12th Grade

20 Qs

Post-Break Python Refresher

Post-Break Python Refresher

9th - 12th Grade

20 Qs

PLTW CSE S1

PLTW CSE S1

9th - 12th Grade

20 Qs

CSA Unit 7 Test

CSA Unit 7 Test

9th Grade

20 Qs

Int Prog: Lists and Functions

Int Prog: Lists and Functions

9th - 12th Grade

20 Qs

Python Cert Prep Session 1

Python Cert Prep Session 1

9th - 12th Grade

20 Qs

8. Python (функции)

8. Python (функции)

5th - 9th Grade

22 Qs

Тест по iterable(iterable 8)

Тест по iterable(iterable 8)

Assessment

Quiz

Computers

9th Grade

Practice Problem

Medium

Created by

Igor Dedik

Used 13+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

25 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Как создать пустой список в Python?(2 способа)

empty = []

empty = list()

empty = ()

empty = set()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что выведет код: print([1, 2, 3][-1])?

1

2

3

Ошибка

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Как добавить элемент "new" в конец списка my_list?

my_list.insert("new")

my_list.append("new")

my_list.add("new")

my_list += "new"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Как удалить последний элемент списка и сохранить его в переменную?

x = my_list.remove()

x = my_list.pop()

x = del my_list[-1]

x = my_list.clear()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что делает метод list.sort(key=len)?

Сортирует по алфавиту

Сортирует по длине элементов

Переворачивает список

Удаляет дубликаты

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Как создать кортеж из одного элемента (5)?

x = (5)

x = (5,)

x = [5]

x = tuple(5)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что выведет код: print((1, 2, [3, 4])[2][0])?

1

2

3

[3, 4]

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?