MscWood @ 2022-07-29 10:26:14
input()换input().split()后代码就没效果了,求帮忙看看吧
num=input().split()
Leng=len(num)
for t in range(1,Leng+1,1):
print(num[-t],end="")
by Jorisy @ 2022-07-29 10:28:11
split()之后要写num[0]吧
by MscWood @ 2022-07-29 10:34:10
@JYqwq 大佬为啥啊
by 94no49 @ 2022-07-29 10:43:14
不需要吧
by 94no49 @ 2022-07-29 10:43:59
@94no49 num是列表啊
by MscWood @ 2022-07-29 10:47:56
@JYqwq 懂了谢谢大佬