Answer to Problem 8

Answer to Looping Problem 08
1
2
3
4
5
6
7
for row in range(10):
    for column in range(row + 1):
        print(column, end=" ")

    # Print a blank line
    # to move to the next row
    print()