Remove_duplicates


#1

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])


#2

In what way are you not satisfied?


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.


#4

#6