Team 1
0
Team 2
0
Teams
Name
Score
1
2
3
4
5
6
7
8
Loading
10
×
Write the Python code that changes the 4th element in list numbers to 9.
numbers[3] = 9
Oops!
Check
Okay!
Check
10
×
____________________ method can be used to add an element at a specified index/location in a list.
insert( )
Oops!
Check
Okay!
Check
10
×
How do you get the length of the list grades? grades = [2.0, 3.0, 4.0]
len(grades)
Oops!
Check
Okay!
Check
×
thief
Give points!
5
10
15
20
25
×
seesaw
Swap points!
Okay!
×
shark
Other team loses 20 points!
Okay!
×
banana
Go to last place!
Oops!
10
×
___________________ method adds a single element to the end of the list.
append( )
Oops!
Check
Okay!
Check
10
×
What is the output of the following segment?
["C"]
Oops!
Check
Okay!
Check
10
×
What is numbers [-3]? numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
8
Oops!
Check
Okay!
Check
×
thief
Give points!
5
10
15
20
25
×
gold
Win 50 points!
Okay!
×
gift
Win 10 points!
Okay!
×
baam
Lose 20 points!
Oops!
×
Restart
Review
Join for Free
;
Your experience on this site will be improved by allowing cookies.
Allow cookies