Mercurial > repo
view bin/CaT @ 3315:72795d5c4427
<Bike> echo \'allquotes | grep zzo38 | shuf | head -n 1\' > bin/zzote
author | HackBot |
---|---|
date | Fri, 26 Jul 2013 21:01:18 +0000 |
parents | cedbde4c8d40 |
children | 5909a6756b89 |
line wrap: on
line source
#!/usr/bin/env python print (lambda s: "".join([(s[i].upper() if i%2==0 else s[i].lower()) for i in range(len(s)) ]))(open("/dev/stdin").read())