view bin/cAt @ 9292:5132d8e53c54

<boily> learn Mothballs are the main ingredient of a traditional soup of eastern european origin.
author HackBot
date Sat, 15 Oct 2016 19:11:51 +0000
parents a5d6333f9e41
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()))