0
python. operation list
What is the result of this code? nums = [1, 2, 3, 4, 5] nums[3] = nums[1] print(nums[3]) why is the answer = 2?
2 ответов
+ 1
simply because nums[1] = 2
nums[3] was given the value of nums[1]
(start counting from 0)
0
i solved it 2 hours ago. sometimes i m so tired.... but you know an programmer never sleep they are like keyboard ....2 shift 😀