view bin/CaT @ 11456:8043c7d6ee45

<shachaf> mkx bin/q//quote "$@"
author HackBot
date Fri, 16 Mar 2018 00:36:14 +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()))