view bin/CaT @ 4094:bbe9ae610bbc

<shachaf> echo \'echo resume\' > bin/r\xc3\xa8sum\xc3\xa8; chmod +x bin/r\xc3\xa8sum\xc3\xa8
author HackBot
date Thu, 28 Nov 2013 21:14:46 +0000
parents d9ab4c1c05dd
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()))