count up digits by twobit

n=input()
p=i=-1
while i<n:
\x09p*=10
\x09while i<n%-p:i-=p/10;print"%%0%dd"%(n*45%28)%i

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

download

return to the top page