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 |
Tags
- djangovscode
- webhacking.kr문제풀이
- 취약점점검
- Django
- 파이썬웹
- 코로나
- 장고
- 파이썬
- 해커
- 리버싱
- 장고vscode
- 코로나바이러스
- web
- rev-basic-4
- dreamhack
- 해킹
- csaw
- jango
- reversing
- vscode
- 해킹문제
- 모세포
- 백준
- 웹해킹
- csaw 2018
- basic4
- AndroidOS
- 바이러스
- rev-basic-3
- rev-basic-6
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