Skip to content

Commit 5ff6f9f

Browse files
Update 1_2.py
1 parent 9810852 commit 5ff6f9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pattern/1_2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
n=int(input("enter a number: "))
22
for i in range(n,0,-1):
3-
print("* "*i,sep=' ')
3+
print("* "*i,sep='')
44
'''
55
output:
66
enter a number: 6

0 commit comments

Comments
 (0)