Using nested for loops, write a program that will print the numerals 1 through 9 a number of times equal to its square. 1 will print one time (1^2), 2 will print 4 times (2^2), 3 will print 9 times (3^2), etc.
Your output should look like this:
1
2222
333333333
4444444444444444
5555555555555555555555555
666666666666666666666666666666666666
7777777777777777777777777777777777777777777777777
88888888888888888888888888888888888888888888888888 88888888888888
99999999999999999999999999999999999999999999999999 9999999999999999999999999999999
( I don't even know how to start or what the main idea is)