view bin/uniqs @ 11319:cf167328310d

<shachaf> swrjan s,oet,unster,
author HackBot
date Mon, 15 Jan 2018 06:16:19 +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