Skip to content

Commit

Permalink
Merge pull request #20 from Paras-code/patch-1
Browse files Browse the repository at this point in the history
Create Pyramid.py
  • Loading branch information
sarabgi authored Oct 31, 2022
2 parents bdbe691 + 20bb191 commit add4bcc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Pyramid.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
i = 1
while (i<=5):
print("5"*i)
i+=1

j=1
k=4
while (j<=9):
print(" "*k + "5"* j)
k = k-1
j=j+2

0 comments on commit add4bcc

Please sign in to comment.