[백준/9093] 단어 뒤집기 (파이썬/python)
1️⃣ 문제
문제 링크 : https://www.acmicpc.net/problem/9093

2️⃣ 코드
import sys
num = int(sys.stdin.readline())
while num>0:
    str = list(sys.stdin.readline().split())
    for i in str:
        print(i[::-1],end=' ')
    print('')
    num-=1
      
댓글남기기