view bin/uniqs @ 11554:24b4781183d7 draft

<oerjan> sled bin/culprits//s,$, -d\'\\\\n\',
author HackEso <hackeso@esolangs.org>
date Tue, 08 May 2018 01:54:39 +0100
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