view bin/uniqs @ 12396:999b064a423a draft

<salpynx> ` cp \xf0\x9f\x8c\xb1 ../bin
author HackEso <hackeso@esolangs.org>
date Thu, 27 May 2021 14:28:50 +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