Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def remove_duplicate (a):
- b = []
- for i in a:
- if i not in b:
- b.append(i)
- return b
- a = [input() for i in range(int(input()))]
- print(remove_duplicate(a))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement