view bin/CaT @ 8243:0421a66f740c

<shachaf> le/rn usual suspects/There are 3.99 usual suspects, but they\'re usually rounded up.
author HackBot
date Tue, 31 May 2016 19:42:25 +0000
parents 7f957c1f4661
children
line wrap: on
line source

#!/usr/bin/env python
import sys
sys.stdout.write ((lambda s: "".join([(s[i].upper() if i%2==0 else s[i].lower()) for i in range(len(s)) ]))(open("/dev/stdin").read()))