Skip to content

Instantly share code, notes, and snippets.

@tardonly
Created August 18, 2017 21:17
Show Gist options
  • Save tardonly/e912fef64b012566bcf6114c90678bc4 to your computer and use it in GitHub Desktop.
Save tardonly/e912fef64b012566bcf6114c90678bc4 to your computer and use it in GitHub Desktop.
List Remove Duplicates
a=raw_input('enter list:')
a=eval(a)
b=[]
for i in a:
if i not in b:
b.append(i)
print(b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment