Algorithm단어 뒤집기problem number: 9093link: https://www.acmicpc.net/problem/9093Define input, outputInput: sentence with words단어의 기준은 space대문자는 유지Output: 문장에서 단어들의 위치는 보존하고 각 단어들의 역순으로 이루어진 문장source code 1 2 3 4 5 6 7 8 9 10 import sys N = int(sys.stdin.readline()) for _ in range(N): words = sys.stdin.readline().split(" ") words = list(map(lambda x :x[::-1], words)) sentence = " ".join(words) print(sentence)