@@ -0,0 +1,10 @@
1
+rows = input()
2
+rows = int (rows)
3
+
4
+for i in range (rows,0,-1):
5
+for j in range(1, i + 1):
6
+print(j, end=' ')
7
+n_of_stars = 2* ( rows-i) - 1
8
+for j in range(1,n_of_stars+1):
9
+print("*",end = ' ')
10
+print()
0 commit comments