• + 8 comments

    f name == 'main': n = int(input()) for i in range(1 , n+1): print(f"{i}", end = '')

    here the end = ' ' will take next iteration as the argument and print it in the same line.