view bin/uniqs @ 7540:395d3ff3f755

<Melvar> ` chmod +x bin/jq
author HackBot
date Tue, 26 Apr 2016 15:06:40 +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