xxxxxxxxxx
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))
xxxxxxxxxx
x,y=map(int,input().split())#you can change the int to specify or intialize any other data structures
print(x)
print(y)
xxxxxxxxxx
only_str = input().split() #only str
define_type = list(map(int, input().split())) #int, float, str
xxxxxxxxxx
mA,mB = map(float,input().split()) #if float data type
mA,mB = map(int,input().split()) #if int data type
xxxxxxxxxx
x = list(map(int, input("Enter multiple values: ").split()))
print("List of students: ", x)
xxxxxxxxxx
x = list(map(int, input("Enter multiple values: ").split()))
print("List of students: ", x)
xxxxxxxxxx
a, b = input('Enter Two Values: ').split()
print('a = ', a)
print('b = ', b)