view bin/CaT @ 11192:06bdc4bd9c4a

<shachaf> mkx bin/cbn//card-by-name "$@"
author HackBot
date Wed, 20 Sep 2017 21:52: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()))