Quiz: Lists and Arrays

Expand login sectionLog in
Track your progress

Progress: Problem 1 of 8

What code will print out the first element?

x = [1, 2, 3, 4, 5]
print(x[0])
print(x(0))
print(x(1))
print([1])
print(x)
print(x[1])
Check Answer