Python Usuń wszystkie isntances z listy
a = [i for i in a if i != to_remove]
WizardX11
a = [i for i in a if i != to_remove]