0
how to do double input in the sololearn compiler
?
3 Answers
+ 6
To make a double entry in python use the input() function for example you store one variable and another in another variable
var = input()
var1 = input()
and there you have your double entry, keep asking and you will be able to clear your doubts and move forward
+ 3
Sankhiss bisnes ,
depending on the requirements of the input (task description) we can also give multiple inputs in one line separated by a space or a comma for instance. in this case, the code has to split this input line to individual objects.
+ 1
Hi, Sankhiss bisnes !
At SoloLearnâs Playground, for each input() in your code, enter each input on a new line in the input box before hitting submit.