I don't understand the difference between these codes

前端 未结 0 1791
醉梦人生
醉梦人生 2020-12-23 11:48

data = [2, 4, 3, 1, 5, 10, 9]

data.pop() print(data)

result: [2, 4, 3, 1, 5, 10]

the above is what i think makes sense

however,

data = [2,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题