-Code
for _ in range(int(input())):
n = int(input())
plus = n // 5
stick = n % 5
print("++++ " * plus + "|" * stick)
'Beakjoon&프로그래머스 > 파이썬' 카테고리의 다른 글
[백준/파이썬] 30791번 gahui and sousenkyo 1 (1) | 2023.12.05 |
---|---|
[백준/파이썬] 30794번 가희와 클럽 오디션 1 (0) | 2023.12.04 |
[백준/파이썬] 27334번 마라톤 대회 (Marathon Race) (0) | 2023.12.02 |
[백준/파이썬] 30569번 Last One Standing (0) | 2023.12.01 |
[백준/파이썬] 30886번 Artistic Souvenir (0) | 2023.11.30 |