view bin/uniqs @ 9303:6ff2e84d29a8

<oerjan> learn A corkscrew is a downwards spiral of doom. See mapole.
author HackBot
date Mon, 17 Oct 2016 00:04:46 +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