view bin/uniqs @ 9296:ed73e43e26c7

<alercah> learn shrimp transcends the concept of meat
author HackBot
date Sun, 16 Oct 2016 21:41:15 +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