comparison bin/uniqs @ 9075:c989a1669243

<fizzie> revert 58b9ee8f97a7
author HackBot
date Sun, 25 Sep 2016 20:31:46 +0000
parents
children
comparison
equal deleted inserted replaced
9074:560a73f4f0a4 9075:c989a1669243
1 #!/usr/bin/python
2 s=set()
3 try:
4 while True:
5 l=raw_input()
6 if l not in s:
7 s.add(l)
8 print(l)
9 except EOFError:
10 pass