view bin/uniqs @ 7771:cb5e70259977

<Moon__> fetch http://pastebin.com/raw/BGTV9E93
author HackBot
date Thu, 05 May 2016 02:31:13 +0000
parents 9bf80fcf858b
children
line wrap: on
line source

#!/usr/bin/python
s=set()
try:
 while True:
  l=raw_input()
  if l not in s:
   s.add(l)
   print(l)
except EOFError:
 pass