view bin/cAt @ 11346:5b4bf7c89772

<oerjan> addquote <shachaf> int-e does not like this [...] <int-e> shachaf: I experience heightened levels of indifference :P <shachaf> Higher than your usual? <int-e> who cares?
author HackBot
date Mon, 19 Feb 2018 02:06:14 +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()))