view bin/uniqs @ 7432:67660654e700

<b_jonas> `` echo -n "Hopefully not in that order, so they get their personal problems taken care of before the final battle. And it\'s a comedy. " >> wisdom/o
author HackBot
date Sun, 17 Apr 2016 21:29:03 +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