-Code
for i in range(int(input())):
line = list(input().split())[::-1]
print(f"Case #{i + 1}:", end=' ')
print(*line)
'Beakjoon&프로그래머스 > 파이썬' 카테고리의 다른 글
[백준/파이썬] 21867번 Java Bitecode (0) | 2022.09.16 |
---|---|
[백준/파이썬] 12400번 Speaking in Tongues (Small) (0) | 2022.09.15 |
[백준/파이썬] 6438번 Reverse Text (0) | 2022.09.13 |
[백준/파이썬] 6751번 From 1987 to 2013 (0) | 2022.09.12 |
[백준/파이썬] 4072번 Words (0) | 2022.09.11 |