delete an item `thing` in a list `some_list` if it exists,cleaned_list = [x for x in some_list if x is not thing]