view bin/uniqs @ 7320:0af662e3f11e

<hppavilion[1]> mkx bin/scold//echo "BAD! BAD ${1^^}!"
author HackBot
date Wed, 30 Mar 2016 03:28:48 +0000
parents 9bf80fcf858b
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