Python Program to Print Full Pyramid
In this program we will print full pyramid using *
#Python program to print Full Pyramid
n=int(input("Enter number of rows: "))
m = (2 * n) - 2
for i in range(0, n):
for j in range(0, m):
m = m - 1
for j in range(0, i + 1):
print("* ", end=' ')
Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more.
Sign Up for our weekly newsletter to get update about new content.