view bin/uniqs @ 11980:e6c5f992c73b draft

<kspalaiologos> le//rn bfasm //The brainfuck assembler. Documentation and samples: https://raw.githubusercontent.com/KrzysztofSzewczyk/asmbf/master/doc/bfasm.doc
author HackEso <hackeso@esolangs.org>
date Wed, 23 Oct 2019 17:53:30 +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