📜  如何在python代码示例中获取多个整数输入

📅  最后修改于: 2022-03-11 14:45:26.861000             🧑  作者: Mango

代码示例3
a, b = map(int, input('Enter Two Values: ').split())
 
print('a = ', a, ' and type is: ', type(a))
print('b = ', b, ' and type is: ', type(b))