Base 37 by rolf

while 1:
 d=input();r=""
 while d:m=d%37;r=chr(m+48+39*(m>9)-m/36*58)+r;d/=37
 print r

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

download

return to the top page