n=int(input())
for i in range(1,n+1):
    print("*"*i)

 

 

 

 

문제 : https://www.acmicpc.net/problem/2438

 

2438번: 별 찍기 - 1

첫째 줄에는 별 1개, 둘째 줄에는 별 2개, N번째 줄에는 별 N개를 찍는 문제

www.acmicpc.net

 

'Baekjoon > python' 카테고리의 다른 글

[백준 11720번] 숫자의 합  (0) 2022.04.26
[백준 2439번] 별 찍기 - 2  (0) 2022.04.26
[백준 11022번] A+B - 8  (0) 2022.04.21
[백준 11021번] A+B - 7  (0) 2022.04.21
[백준 2742번] 기찍 N  (0) 2022.04.21

+ Recent posts