Notice
Recent Posts
Recent Comments
Link
김두두의 블로그
[파이썬] 백준 2523번 별 찍기 - 13 본문
https://www.acmicpc.net/problem/2523
2523번: 별 찍기 - 13
첫째 줄부터 2×N-1번째 줄까지 차례대로 별을 출력한다.
www.acmicpc.net
n=int(input())
for i in range(1,n+1):
print('*'*i)
for i in range(1,n):
print('*'*(n-i))
'it' 카테고리의 다른 글
[파이썬] 백준 2010번 플러그 (0) | 2022.04.12 |
---|---|
[파이썬] 백준 9625번 BABBA (0) | 2022.04.11 |
[파이썬] 백준 9655번 돌 게임 (0) | 2022.04.08 |
[파이썬] 백준 2693번 N번째 큰 수 (0) | 2022.04.08 |
[파이썬] 백준 10886번 0 = not cute / 1 = cute (0) | 2022.04.07 |