Programming/Python & Data Structures
[Baekjoon/Python3] 10991번 별 찍기 - 16
HooNeee
2020. 12. 7. 00:07
[Baekjoon/Python3] 10991번 별 찍기 - 16
10991번: 별 찍기 - 16
예제를 보고 규칙을 유추한 뒤에 별을 찍어 보세요.
www.acmicpc.net
n = int(input())
for i in range(1, n + 1):
print(' ' * (n - i) + '* ' * i)