view bin/CaT @ 12340:89b14ac72783 draft

<int-e> learn Cattitude is a combination of pride, entitlement, indifference, and cruelty that humans can never hope to achieve.
author HackEso <hackeso@esolangs.org>
date Fri, 21 Aug 2020 08:59:06 +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()))