Sollicitatievraag bij Guru Technologies (UT)

How would you write a loop to remove items from a list?