You are viewing a single comment's thread. Return to all comments →
if __name__ == '__main__': n = int(input()) res=0 j=1 for i in range(0,n+1): if i==10**j: j=j+1 res=res*10**j+i print (res)
Seems like cookies are disabled on this browser, please enable them to open this website
Print Function
You are viewing a single comment's thread. Return to all comments →