view bin/uniqs @ 11945:59147378b1a9 draft

<b_jonas> `` sed -i \'s/%N/%3N/\' bin/datei; datei
author HackEso <hackeso@esolangs.org>
date Tue, 17 Sep 2019 22:32:07 +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