view bin/loudlye @ 8195:15385eb12db2

<oerjan> mkx bin/rnooodl//perl -pe \'s/(.)\\1\\1/"@{[$1 x(3+rand 7)]}"/ge\'
author HackBot
date Sun, 29 May 2016 00:46:18 +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)