Created
August 18, 2017 21:17
-
-
Save tardonly/e912fef64b012566bcf6114c90678bc4 to your computer and use it in GitHub Desktop.
List Remove Duplicates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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