You are viewing a single comment's thread. Return to all comments →
if name == 'main': n = int(input()) a = 1 op = [] while n!=0: op.append(str(a)) a=a+1 n=n-1 final="".join(op) print(final)
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 →
if name == 'main': n = int(input()) a = 1 op = [] while n!=0: op.append(str(a)) a=a+1 n=n-1 final="".join(op) print(final)