+ 1

Input in the console of python 3 in sololearn

Why console of python 3 here in sololearn can't give a hand to use more than one input value?

13th Jan 2021, 12:36 PM
Boubaker Benaissa
Boubaker Benaissa - avatar
4 Respuestas
+ 5
You can give many inputs in Sololearn playground, just you have to enter, numbers of inputs your code wants , And you will get your favorable output! All the best for future python code!
13th Jan 2021, 12:44 PM
Abhiyantā
Abhiyantā - avatar
+ 3
Yes, console here does not allow multiple/interactive input but you can just do this : For example in my program I have two input variables: x = int(input()) y = int(input()) # some code... Then you can input in the input box like for example: 2 3 - - - - - - - - - 2 is assigned to x 3 is assigned to y
13th Jan 2021, 12:41 PM
noteve
noteve - avatar
+ 2
It isn't interactive, but you can provide all input values if you know what inputs the program will require . Alternatively you can look for pydroid app if you want that functionality.
13th Jan 2021, 12:43 PM
Abhay
Abhay - avatar
0
x, y = input().split()
13th Jan 2021, 12:52 PM
**🇦🇪|🇦🇪**
**🇦🇪|🇦🇪** - avatar