count down by Ezlin

k=raw_input();l=len(k)-1;d=int(k[0]);
while l>=0:
 while d:print d*10**l;d-=1
 d=9;l-=1
print 0

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

download

return to the top page