Skip to content

Commit add4bcc

Browse files
authored
Merge pull request #20 from Paras-code/patch-1
Create Pyramid.py
2 parents bdbe691 + 20bb191 commit add4bcc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Diff for: Pyramid.py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
i = 1
2+
while (i<=5):
3+
print("5"*i)
4+
i+=1
5+
6+
j=1
7+
k=4
8+
while (j<=9):
9+
print(" "*k + "5"* j)
10+
k = k-1
11+
j=j+2

0 commit comments

Comments
 (0)