a,b,c = input().split() 
print(a)
print(b)
print(c)
print(type(a))
>>>
1 2 3
1
2
3
<class 'str'>

输入整数

a,b,c = map(int,input().split())
print(a)
print(b)
print(c)
print(type(a))
>>>
1 2 3
1
2
3
<class 'int'>

输入小数

a,b,c = map(float,input().split())
print(a)
print(b)
print(c)
print(type(a))
>>>
1.0 2 3 
1.0
2.0
3.0
<class 'float'>