python怎么一次输入两个数

Python中输入多个数字: a, b, c = map(int, input().split()) 1、输入一个数字直接 m = int(input()) 2、输入两个数字就是 m, n = map(int, input().split()) 3、三个及三个以上就和两个的类似: a, b, c = map(int, input().split()) a, b, c, d = map(int, i
相关文章
相关标签/搜索