I need to output this
1
22
333
4444
55555
666666
7777777
88888888
999999999
So far all I have is:
def main():
for i in range(10):
for n in range(i):
print(i)
return
main()
I get all the correct numbers, it's just not formatted correctly. If you guys could throw some hints my way I'd appreciate it.