class Solution: def trans(self , s: str, n: int) -> str: # write code here s_list = s.split(" ")[::-1]...