Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to make a full pyramid in python

row = int(input("Enter number of row = "))
for r in range(row):
    for s in range(row-r-1):
        print(end=" ")
    for str in range(r+1):
        print("*", end=" ")
    print()
 
PREVIOUS NEXT
Tagged: #full #pyramid #python
ADD COMMENT
Topic
Name
9+6 =