Mercurial > repo
view bin/CaT @ 8477:65ac6965cba0
<oerjan> learn Isms are philosophies, religions or ideologies that have branched off from older ones, such as Leninism or Buddhism. Etymologically "ism" is a backformation from portmanteaus on "schism".
author | HackBot |
---|---|
date | Mon, 13 Jun 2016 08:26:16 +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()))