4 ответов
+ 2
If you mean two inputs at time, you can just write like this:
A, B = input("write 2 values separated by coma")
Finally, the first value written will be stored in the variable A, and the second to B.
+ 11
AliR૯za didn't work
+ 11
Can you share me your code please that have two input
+ 6
Use input() function twice in the code. Enter the two inputs in two different lines.
Another way is to get space-seperated inputs and split them.