toggleCASE by Thammi

while 5:
 o="";a=0
 for c in raw_input():o+=chr(ord(c)^a<<5);a^=c<'a'
 print o

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top