view bin/uniqs @ 12215:1f2227053f91 draft

<b_jonas> `` rm -v /hackenv/bin/STOP
author HackEso <hackeso@esolangs.org>
date Sat, 30 Nov 2019 11:26:09 +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