view bin/uniqs @ 12479:fc74ac1f8b61 draft

<b_jonas> slashlearn password//The password of the month is OFFSET 0 ROW FETCH NEXT 50 ROW ONLY.
author HackEso <hackeso@esolangs.org>
date Sat, 01 Apr 2023 14:31:10 +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