view bin/uniqs @ 12556:79923443dff9 draft default tip

<Sgeo> ` rm -r /hackenv/pli-1.4.1
author HackEso <hackeso@esolangs.org>
date Thu, 07 May 2026 23:44:20 +0000
parents 39ff5b7b9947
children
line wrap: on
line source

#!/usr/bin/env python3
s=set()
try:
 while True:
  l=input()
  if l not in s:
   s.add(l)
   print(l)
except EOFError:
 pass