view bin/uniqs @ 9999:5f5c1c2dc06c

<hppavilion[1]> slwd currying//s/$/./
author HackBot
date Tue, 20 Dec 2016 04:24:49 +0000
parents c989a1669243
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