view bin/uniqs @ 7958:1b123be3bfed

<oerjan> ` le/rn "hfs//"`hfs`
author HackBot
date Sun, 08 May 2016 02:56:11 +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