코딩테스트 파이썬/파이썬 프로그래머스 1단계

직사각형 별찍기

세용용용용 2023. 5. 14. 08:50

나의 코드

a, b = map(int, input().strip().split(' '))
def solution(a,b):
    answer= ('*'*a+'\n')*b
    #for i in range(b):
    print(answer)
solution(a, b)