0
List Pop method
nums = [1, 2, 3, 4, 5] nums. pop(0) So running this is giving me an output [3, 4, 5] but it should be [2, 3, 4, 5]? Since at index 0 there is 1
2 ответов
+ 3
My output is [2,3,4,5] are you sure of your output?
+ 1
Got the same output now. Thanks!