view bin/cAt @ 11557:b502fb714ae7 draft

<oerjan> learn Turning is what Turing is doing in his grave because of all the esolangers misspelling his name.
author HackEso <hackeso@esolangs.org>
date Sun, 13 May 2018 02:31:49 +0100
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()))