Mercurial > repo
view bin/uniqs @ 7305:f78fbf4ff95e
<b_jonas> learn Pike is an interpreted language that got sort of forgotten among the four big mainstream p-languages (perl, python, ruby, php).
author | HackBot |
---|---|
date | Tue, 29 Mar 2016 01:27:38 +0000 |
parents | 9bf80fcf858b |
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