view bin/uniqs @ 8082:5b5521deabd1

<b_jonas> slashlearn adpoted/"Oh lord, we\'ve adpoted another one." (about Emily) => Marten realizes what kind of webcomic he lives in in http://questionablecontent.net/view.php?comic=2298
author HackBot
date Wed, 18 May 2016 12:34:20 +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