How to remove things from a list while iterating? I’m iterating over a list of tuples in Python, and have always been trying to take them off if they meet certain criteria. Exactly What must I use in place of code_to_remove_tup ? I cannot figure out how to take away the item in this manner.