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