I have a list which each round deleted something in it. How do I stop this while loop after the list runs out of things in it?
while (list has something in it):
I have a list which each round deleted something in it. How do I stop this while loop after the list runs out of things in it?
while (list has something in it):