Algorithm/boj

[파이썬] 12606 Reverse Words (Large)

takeU 2022. 6. 20. 16:54
반응형
for i in range(1, int(input()) + 1):
    print(f'Case #{i}: {" ".join(input().split()[::-1])}')