没问题,你输入有问题吗,还有format里面应该是i不是s
s=input().split(',') for i in s: print('{:>10}'.format(i),end='')
输出错了:
print('{:>10}'.format(i), end='')