How To Modify A Python Sequence While Iterating Over It

How To Modify A Python Sequence While Iterating Over It