view bin/uniqs @ 12351:af405b8a7235 draft

<wib_jonas> `` perl -pi -e \'s/random/secrets/;s/python/$&3/\' /hackenv/bin/password
author HackEso <hackeso@esolangs.org>
date Wed, 04 Nov 2020 14:36:52 +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