view bin/CaT @ 10593:64ab39a9aaef

<oerjan> learn Mussels are boily\'s natural enemies. Fortunately he runs faster than them.
author HackBot
date Sat, 08 Apr 2017 23:57:37 +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()))