view bin/CaT @ 2988:ea35240a1ebe

<cpressey> learn htdh is help received from a hairy toe belonging to Don Ho.
author HackBot
date Thu, 30 May 2013 21:23:39 +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())