Computer Science, asked by rekharr1424, 11 months ago

make a program in python to display
1
2 3
4 5 6
7 8 9 10

Answers

Answered by charlie1505
5

Explanation:

n = 1

for i in range(0, 4):

for j in range(0, i+1):

print(n, end=" ")

n = n + 1

print()

Similar questions