Remove items from a list while iterating in python 3
Remove items from a list while iterating in python 3