view bin/CaT @ 3285:85f0e89e9590

<Phantom_Hoover> learn @ is an OS made out of only the finest vapour
author HackBot
date Sat, 06 Jul 2013 11:32:30 +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())