比如我输入abc,然后输出结果为a b c,这个该怎么做
收起
s=input() for i in s: print(i)
这个默认是换行如果想中间夹空格改成
print(i,end=' ')
报告相同问题?