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 Answers
0
š
0
ŠøŠ·Š²ŠøŠ½ŠøŃŠµ,Š·Š“ŃŠ°Š²ŃŃŠ²ŃŠ¹ŃŠµ, Š²Ń Š² Š²Š°ŃŃŠ°ŠæŠæŠµ ŃŠøŠ“ŠøŃŠµ?