Solved | Sololearn: Learn to code for FREE!



I'm running a code right from the tutorial in the playground, the program should ask me for 2 inputs, why am I only seeing 1 when it's ran


4/7/2017 11:56:51 PM

Adam Dewitt

2 Answers

New Answer


Online compilers require that you give all of your inputs in that one prompt box. The code will read them one line at a time. So for two inputs, type something like this: 25 57


I.e. Split seperate inputs into seperate lines.