view bin/loudlye @ 7358:56f8ad45942b

<oerjan> le/rn spaghetti stack/A spaghetti stack is the most edible data structure.
author HackBot
date Mon, 04 Apr 2016 09:26:40 +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)