Skip to content

Commit 1598a9d

Browse files
committed
[#7] Feat: Add 별 찍기 - 7
1 parent 44108ed commit 1598a9d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

2444.py

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# 별 찍기 - 7
2+
3+
N = int(input())
4+
5+
for i in range(N):
6+
print(' '*(N-i-1)+'*'*i+'*'+'*'*i)
7+
8+
for i in range(N-1):
9+
print(' '*(i+1)+'*'*(N-i-2)+'*'+'*'*(N-i-2))

0 commit comments

Comments
 (0)