这个带码错哪里了

P5705 【深基2.例7】数字反转

zhangtianxiao_x_ty @ 2024-10-21 21:39:49


a = input()
list = []
fan = []
for i in a:
    list+=i
for i in range(len(list)):
    fan +=list[len(list)-i-1]
s = ''.join(fan)
print(s)
------------------
谁能帮忙看看哪里错了

|