如何一行输入两个数据(中间可用空格进行隔开),我了解到了两种方法 一、 x, y =input().split() print(x, y) 二、 x, y = map(int, input().split())# 此时x,y都是int类型