Print Function
January 16, 2024
The included code stub will read an integer, , from STDIN.
Without using any string methods, try to print the following:
Note that "" represents the consecutive values in between.
Sample Input 0
3Sample Output 0
123if __name__ == '__main__':
    n = int(input())
    
    for number in range(n):
        print(number+1, end="", sep="")Last updated