view bin/loudlye @ 8907:674bdc6a8cf5

<oerjan> mkx bin/d20//echo d20
author HackBot
date Thu, 11 Aug 2016 01:21:29 +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)