I tried my best to find it on different forums so excuse me if it is an easy one.
I want to take different inputs from the user and assign them to different variables. Using split() we can only enter the inputs in one line.
w,x,y,z = (input('Enter the number :').split(','))
But how can we ask for inputs in different line and assign them to the variables without typing the input function again.
I want the same output as below code but without typing input function multiple times.
w= int(input('Enter the number :'))
x= int(input('Enter the number :'))
y= int(input('Enter the number :'))
z= int(input('Enter the number :'))