导航

python遍历删除列表的方法

Posted on 2016-08-18 16:07  网名还没想好  阅读(178)  评论(0编辑  收藏  举报
for item in list(somelist):
    somelist.remove(item)