+ 3
How to take 2 inputs in python
like if we want to take x=input("Enter a no.") y=input("Enter 2nd no.")
3 Answers
+ 3
if you write it like that you have to write the input in two seperate lines
2
3
x = 2 y = 3
https://code.sololearn.com/cO5UBoBh0bUz/?ref=app
+ 2
I am saying that if we need 2 no. example , for multiplication . Then how should we take them from user in Python
+ 1
You know,if u want to get numeric input,you could write write it as..
-var=eval(input("Enter a number"))
*You could use a loop to get multiple numbers and store them in a list...