You are viewing a single comment's thread. Return to all comments →
if name == 'main': n = int(input()) for i in range(n): print(i + 1, end='')
#this might be the easiest way to solve using python 3
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()) for i in range(n): print(i + 1, end='')