how to input two numbers, if when runing thare only one window? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to input two numbers, if when runing thare only one window?

29th Nov 2017, 5:21 PM
Денис «hauser» Тарасюк
Денис «hauser» Тарасюк - avatar
2 Answers
+ 2
I'm not sure if this is what you're asking, but when SoloLearn runs your code, it requires you to input ALL of your inputs in the beginning. It then compiles it on the server and displays the output to you. So when SoloLearn prompts you for input, put each input on its own separate line.
29th Nov 2017, 5:24 PM
AgentSmith
0
input first number press return key to go down a line and enter second number
29th Nov 2017, 5:24 PM
LordHill
LordHill - avatar