Base 37 by whatisgolf

while 1:
 n=input();s=''
 while n:d=n%37+48;s=chr(d+d/58*39-d/84*58)+s;n/=37
 print s

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

download

return to the top page