You are viewing a single comment's thread. Return to all comments →
Solution in a single line (Python 3):
print(*range(1, int(input())+1), sep='')
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 →
Solution in a single line (Python 3):
print(*range(1, int(input())+1), sep='')