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='')
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='')