0

4 is the correct answer. list(range(5)) = [0, 1, 2, 3, 4] and nums[4] is the 5th element of the list.

list(range(5)) = [0, 1, 2, 3, 4] and nums[4] is the 5th element of the list, because we begin counting from 0. So it is 4. Hope it was clear and useful.

17th Mar 2017, 10:09 AM
Petrov Ilya V
Petrov Ilya V - avatar
2 odpowiedzi
0
👍
19th Jun 2017, 2:56 AM
Sooraj S Prakash
Sooraj S Prakash - avatar
0
извините,здравствуйте, вы в ватсаппе сидите?
5th Sep 2017, 11:41 AM
Иван