Python Lists

Python Lists

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

18 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What symbol is associated to lists in Python?

Back

[ ]

2.

FLASHCARD QUESTION

Front

When does indexing start for lists in Python?

Back

0

3.

FLASHCARD QUESTION

Front

How do you create a list in Python that contains 1, 2, and 3?

Back

numbers = [1, 2, 3]

4.

FLASHCARD QUESTION

Front

How do you create a list in Python that contains 43.0, "A", True and 2?

Back

data = [43.0, "A", True, 2]

5.

FLASHCARD QUESTION

Front

What is the output of integers[1] where integers = [10, 20, 30, 40, 50]?

Back

20

6.

FLASHCARD QUESTION

Front

What is the output of integers[0] where integers = [10, 20, 30, 40, 50]?

Back

10

7.

FLASHCARD QUESTION

Front

What is the output of integers[5] where integers = [10, 20, 30, 40, 50]?

Back

Index Error

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?