it works but i'm not satisfyed !
def remove_duplicates(lst): lst1 =list(lst) count = 0 for i in lst1: if i == i: return i print remove_duplicates([1,2,4,2,5,7,2])
so i though about the fact that if looping and found that i = to itself, then it's the one i should remove: i wrote this part
if i == i:
i didn't know how to do next, i hit "run" just for feedback , and it worked
I NEED AN EXPLINATION THANK YOU