view bin/uniqs @ 8950:e657ce4e6d80

<oerjan> rm !\\.\xc2\xb4
author HackBot
date Thu, 18 Aug 2016 03:22: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