view bin/uniqs @ 12299:94e16e8b0418 draft

<oerjan> learn zemhill is a bot for playing BF Joust, something we cannot underscore enough.
author HackEso <hackeso@esolangs.org>
date Tue, 07 Jan 2020 07:33:42 +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