0
Question on the exrrcise.
Help for a beginner.
2 Antworten
+ 3
No, you forgot index 0, so index 4 is actually number 4 and not 3
0
Why is the correct answer 4 in the following example?
nums = list(range(5))
print(nums[4])
nums equal [0,1,2,3,4] right?
The value with index [4] will be equal 3. If that isn't an error, then what am I doing wrong?