Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 코로나바이러스19
- webhacking.kr문제풀이
- 해킹문제
- bugbounty
- 장고
- 모세포
- 림프구
- 파이썬웹
- 해킹
- 코로나
- Django
- vscode
- AndroidOS
- web
- 웹해킹
- 바이러스
- env
- 파이썬
- 정보보호영재원
- 1546
- 백준
- 해커
- 가상환경
- 장고vscode
- jango
- 코로나바이러스
- 2438
- Hackerone
- djangovscode
- covid19
Archives
- Today
- Total
Kilkat
백준 2446번 python 본문
a = int(input())
cnt = 0
space = 0
space_2 = 2
dec = 1
dec_2 = 3
for i in range(0, a):
print(' ' * space, end = '')
print('*' * (2 * a - dec))
space += 1
dec += 2
for i in range(0, a - 1):
print(' ' * (a - space_2), end = '')
print('*' * (a - (a - dec_2)))
space_2 += 1
dec_2 += 2
'Programming > python' 카테고리의 다른 글
백준 2741번 python (0) | 2021.03.17 |
---|---|
백준 2577번 python (0) | 2021.03.17 |
백준 2523번 python (0) | 2021.03.17 |
백준 2444번 python (0) | 2021.03.17 |
백준 2440번 python (0) | 2021.03.17 |
Comments