view bin/uniqs @ 11271:3a993ad11b6a

<int-e> le/rn rip//R.I.P. is short for "running in pyjamas".
author HackBot
date Sat, 16 Dec 2017 19:53:31 +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