http://codeup.kr/problem.php?id=1355
Codeup 1355 - 삼각형 출력하기 3
n = int(input())for i in range(0, n): for j in range(0, i): print(' ', end='') for j in range(0, n-i): print('*', end='') print()
'알고리즘 문제 풀기 > Codeup' 카테고리의 다른 글
| Codeup 1357 - 삼각형 출력하기 4 (0) | 2019.02.20 |
|---|---|
| Codeup 1356 - 사각형 출력하기 2 (0) | 2019.02.19 |
| Codeup 1354 - 삼각형 출력하기 2 (0) | 2019.02.18 |
| Codeup 1353 - 삼각형 출력하기 1 (0) | 2019.02.18 |
| Codeup 1352 - 사각형 출력하기 1 (0) | 2019.02.17 |