.pop

来源:互联网 发布:天房网络客服电话 编辑:程序博客网 时间:2024/05/03 08:25
a = [1,2,3,4,5]print a.pop(0)print a

输出:

1[2,3,4,5]
0 0
原创粉丝点击