view bin/CaT @ 9977:07917e29f432

<oerjan> rm bin/w
author HackBot
date Thu, 15 Dec 2016 01:26:54 +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()))