You are given a positive integer . Print a numerical triangle of height like the one below:
1 22 333 4444 55555 ......
Can you do it using only arithmetic operations, a single for loop and print statement?
Use no more than two lines. The first line (the for statement) is already written for you. You have to complete the print statement.
Note: Using anything related to strings will give a score of .
A single line containing integer, .
Print lines as explained above.
1 22 333 4444