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.
2 Respostas
0
👍
0
извините,здравствуйте, вы в ватсаппе сидите?