view bin/cAt @ 6834:0ef2e2f974c5

<hppavilion[1]> mislearn mycology is a Befunge-98 (also -93 to some extent) testsuite that can be found at https://deewiant.iki.fi/projects/mycology/
author HackBot
date Sat, 13 Feb 2016 00:55: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()))