view bin/uniqs @ 7283:673d4757bf65

<oerjan> ` mv bin/u8tbl.{elf,exe}
author HackBot
date Fri, 25 Mar 2016 23:59:46 +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