view bin/uniqs @ 11953:dcbbe7c31186 draft

<kmc> addquote <LKoen> kmc: it\'s 3am and instead of going to bed I just spent a looot of time reading a long article about circadian rythms and melatonin
author HackEso <hackeso@esolangs.org>
date Thu, 26 Sep 2019 01:03:26 +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