MapleStory Finger Point

๐Ÿƒ‍โ™‚๏ธBaekjoon/Python

#2438/2439 ๋ณ„ ์ฐ๊ธฐ -python

HYEJU01 2024. 4. 10. 23:34

 

 

#2438 ๋ณ„์ฐ๊ธฐ -1

N = int(input())

for i in range(N):
    for j in range(i+1):
        print('*', end="")
    print()

 


#2439 ๋ณ„ ์ฐ๊ธฐ -2

N = int(input())

for i in range(N): 
    for j in range(N-1-i): 
        print(' ', end="")
    for k in range(i+1):
        print('*', end="")
    print()