i think there is an error or mistake on the the first question in the range lessons and the output is supposed to be 3 not 4 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

i think there is an error or mistake on the the first question in the range lessons and the output is supposed to be 3 not 4

Pointing out an error

25th Mar 2019, 7:10 AM
madalitso phiri
madalitso phiri - avatar
1 Answer
+ 1
I see you asking about Python quiz nums = list(range(5)) print(nums[4]) Can I suggest you, to copy this code into code playground, Add a line print(nums) And see the result yourself? And then you should understand
25th Mar 2019, 7:31 AM
Gordon
Gordon - avatar