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 9810852 commit 5ff6f9fCopy full SHA for 5ff6f9f
pattern/1_2.py
@@ -1,6 +1,6 @@
1
n=int(input("enter a number: "))
2
for i in range(n,0,-1):
3
- print("* "*i,sep=' ')
+ print("* "*i,sep='')
4
'''
5
output:
6
enter a number: 6
0 commit comments