view bin/loudlye @ 8829:84c5aa00de59

<oerjan> learn isJust is just a Haskell function to check if a value is Just.
author HackBot
date Fri, 22 Jul 2016 16:32:56 +0000
parents f76b9b5bd985
children
line wrap: on
line source

#!/usr/bin/env python
import sys, itertools
inp = len(sys.argv) >= 2 and sys.argv[1] or raw_input()
cyc = itertools.cycle(["\00304,09","\00309,04"])
print "".join(cyc.next() + c for c in inp)