view bin/rainwords @ 2215:a335f2aff822

<fizzie> chmod a+x bin/rainwords
author HackBot
date Thu, 21 Feb 2013 12:51:02 +0000
parents 715145b4a77e
children 70ede24e4f7c
line wrap: on
line source

#!/bin/sh
python -c "import random; w=raw_input().split(' '); r=[4,7,8,9,2,13,6]; s=random.randrange(0, len(r)); print ' '.join(chr(3) + str(r[(i+s)%len(r)]) + w[i] for i in range(len(w)))"