迭代列表的副本:>>> a = ["a", "b", "c", "d", "e"]>>> for item in a[:]:
print item if item == "b":
a.remove(item)a
b
c
d
e>>> print a['a', 'c', 'd', 'e']