view bin/uniqs @ 7572:a551629919da

<fizzie> fetch http://pastebin.com/raw/J7vAQirV
author HackBot
date Wed, 27 Apr 2016 23:34:09 +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