728x90
반응형
SMALL
lst,n= [], int(input())
for i in range(1,n+1):
lst.append(i)
if i % 6 == 0 or i == n: lst.append("Go!")
[print(lst[i], end = " ") for i in range(len(lst))]
728x90
반응형
LIST
'백준문제 > 브론즈 4' 카테고리의 다른 글
백준) 5532번 - python (0) | 2024.03.29 |
---|---|
백준) 5524번 - python (0) | 2024.03.28 |
백준) 4714번 (0) | 2024.03.26 |
백준) 4695번 - python (0) | 2024.03.25 |
백준) 4589번 - python (1) | 2024.03.24 |