class Solution: def reverseWords(self, s: str) -> str: words = s.split() left, right = 0, len(words) - 1 while left < right: words[left], words[right] = words[right], words[left] left += 1 right -= 1 return " ".join(words) 今天第一次感觉能秒题,而且里面都能看懂,很快就结束了第二题 右旋 k = int(input()) s = input()...