I've tried with this code but it doesn't work for a list, why?
def removing(a):
for x in a:
if x < a[0]:
a.remove(x)
return (a)
I've tried with this code but it doesn't work for a list, why?
def removing(a):
for x in a:
if x < a[0]:
a.remove(x)
return (a)