개발/Algorithm
[Python] 백준 9093번 단어 뒤집기
Dane.Kim
2021. 11. 15. 22:26
T = int(input())
for _ in range(T):
word = list(input().split())
word_reverse = []
for i in word:
word_reverse.append(i[::-1])
print(*word_reverse)