Advertisement
Guest User

Untitled

a guest
Oct 21st, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. def remove_duplicate (a):
  2.     b = []
  3.     for i in a:
  4.         if i not in b:
  5.             b.append(i)
  6.     return b
  7.  
  8. a = [input() for i in range(int(input()))]
  9. print(remove_duplicate(a))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement