view bin/uniqs @ 6608:f18bc3037383

<mroman> chmod +x bin/halp
author HackBot
date Fri, 29 Jan 2016 10:45:54 +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