POP() 函数用于移除列表中的一个元素(默认最后一个元素),并返回该元素值

list.pop(obj=list[-1])  默认为 index=-1 删除最后一个列表值
posted @ 2019-12-20 11:33  小马嘿  阅读(1480)  评论(0)    收藏  举报