Here is an easier way:


#1

Here is an easier way:

def remove_duplicates(lst):
new_lst = [ ]
for i in lst:
if i not in new_lst:
new_lst.append(i)
return new_lst