본문 바로가기
알고리즘/백준

백준-2439번(별찍기-2)-python

by nyeongha 2023. 11. 23.

백준-2439번(별찍기-2)-python

i=int(input())
for x in range(1,i+1):
    a="*"*x
    print(a.rjust(i))