Mercurial > repo
view bin/cAt @ 9946:ff9abfd68195
<oerjan> slwd rules of wisdom//s/spaced/& with no space at the end/
author | HackBot |
---|---|
date | Mon, 12 Dec 2016 01:08:35 +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()))