base one to ten by wilkes

def t(n,b):
 if b==1:return '1'*n
 s=""
 while n:
  s=str(n%b)+s
  n=n/b
 return s
for n in range(1,101):
 print t(n,(n%10) or 10)

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

download

return top