python遍历删除列表的方法

for item in list(somelist):
    somelist.remove(item)

  

原文地址:https://www.cnblogs.com/ymy124/p/5784277.html