Print Function ⬀
The included code stub will read an integer, n, from STDIN.
Without using any string methods, try to print the following:
123···n
Note that "···" represents the consecutive values in between.
n = 5
Print the string 12345.
The first line contains an integer n.
1 ≤ n ≤ 150
Print the list of integers from 1 through n as a string, without spaces.
3
123