Cometin'

BOJ-13752 - Python

2020-09-04 at Algorithm category

테스트케이스 횟수 n을 입력받은 후 입력되는 숫자만큼 '='을 출력하는 문제 반복문과 문자열 곱하기 연산을 이용하여 풀었다.

for _ in range(int(input())):
    print('='*int(input()))

hyesungoh

Personal blog by hyesungoh.

I like to share my knowledge for those who wandering in issue.