stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Python Lists Flashcards | StudBud
Explore
/
Python Lists
Python Lists
11 terms
·
StudBud Administration
·
68 plays
A look at the basics of creating lists in python. Computer Science, grade 11.
Flashcards
11 cards
F
Practice quiz
P
Host live
L
Questions
11
Answers
1
Speed Rounds! What is the OUTPUT!!!
dog
fish
cat
bird
2
Lists can hold many types of data
True
False
3
The error: "Index out of range" occurs when you try using an index that is greater than the length of the list.
True
False
4
Output?
E
Z
C
A
5
Output?
2
I don't know...
is C
Answer
6
Which one of these is a List with proper syntax?
mylist = 6 , 7, 8
mylist = [ 4, 6, 8 ]
mylist = (2, 3, 4)
mylist = [ 4 : 7 : 8 ]
7
What is the Output?
[one, two, three]
['A', 'B', 'AB']
Error: index out of range
A B AB
8
What is the output?
[5, 3, 8, 4, 4]
[6, 4, 9, 5, 5]
[5, 2, 6, 1, 0]
[0, 1, 2, 3, 4]
9
What will be the output?
red
bananas
golden
macintosh
10
What is returned by
len(mylist)
if mylist = [2,3,4,5]
0
None
4
3
11
What will be the output?
[3, 2, 1, 5]
[7, 2, 1, 6]
[7, 2, 6, 5]
[3, 2, 6, 5]