We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c71e4e5 commit 21ddd95Copy full SHA for 21ddd95
diamond_symbol.py
@@ -0,0 +1,5 @@
1
+n = int(input())
2
+for i in range (0,n):
3
+ print(" "*(n-i),"#"*i + str("#"*(i-1)))
4
+for i in range(n,0,-1):
5
0 commit comments