I need this nested loop to work and its simple
def triangle():
print("Making a Triangle")
base = 6
while base > 0:
print('0',0,base)
base = base - 1
triangle()
My current output is:
Making a Triangle
0 0 6
0 0 5
0 0 4
0 0 3
0 0 2
0 0 1
I need my output to look like this:
000000
00000
0000
000
00
0