@[cq304637306](/user/828234) ```python x = input() c = x[::-1] c = c.strip() print(c) ``` 输入行末有换行符,要处理掉。 by sdyzpf @ 2023-12-07 15:50:32