while 1:a,b=map(int,input().split());print(('%%d.%0*d'%(b,a%10**b)).strip('.0')%(a//10**b))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page