본문 바로가기

카테고리 없음

Python 직각삼삿형 별찍기 int(input().strip()) 사용

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