- 1
How to make program of pramide
Can any one solve by nexted loop
1 Resposta
+ 3
rows = 8
k = 2 * rows - 2
for i in range(0, rows):
for j in range(0, k):
print(end=" ")
k = k - 1
for j in range(0, i + 1):
print("* ", end="")
print("")