0
Would this print the number three nums=list(range(5) print(nums[4])
4 Antworten
+ 2
actually it would be a syntax error
+ 1
It's 4. because nums=list(range(5))
Values ==> [0,1,2,3, 4]
Index ==> 0,1,2,3,(4)
Print(nums[4]) ==> 4
0
no it would print 4
0
You omitted a closing parenthesis ")"
Then, syntax error, haha