Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 251 Bytes

fullpyramid.md

File metadata and controls

15 lines (11 loc) · 251 Bytes

hacktober22

rows = int(input("Enter number of rows: "))

k = 0

for i in range(1, rows+1): for space in range(1, (rows-i)+1): print(end=" ")

while k!=(2*i-1):
    print("* ", end="")
    k += 1

k = 0
print()