• + 116 comments

    Solution in a single line (Python 3):

    print(*range(1, int(input())+1), sep='')