python:在for遍历list时使用remove出现的问题 经典的错误,标准的零分: 自己的回答:运行后a是空的。 a=[1,2,3,4,5] for i in a: a.remove(i) print a 正解