我找到一个大神的帖子,一行就解决了输入问题。(在OJ在线编程常见输入输出练习场内依然不可用) data=list(map(int,input().split())) print(data) 膜拜膜拜。