view bin/uniqs @ 8061:3450485897fc

<xfix> ` echo 4 8 15 16 23 42 > "wisdom/6 random numbers"
author HackBot
date Sun, 15 May 2016 07:29:13 +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