view bin/uniqs @ 6291:f0abe1320ff3

<tswett> echo \'There is a way out. Finding it will be difficult. It may be the hardest thing you\'\\\'\'ve ever done. Find it anyway.\' > good/544
author HackBot
date Fri, 27 Nov 2015 01:45:53 +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