Here is the simple example
>>> list=[(1,2),(3,4),(5,6)] >>> for i in list: ... print(i) ... list.remove(i) ... (1, 2) (5, 6) >>