Code error when running | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Code error when running

Good day. please, when I run my code here it keeps telling me "seems your program requires input" also an entry to type in something. When I give an input to the entry, it returns an error. Why? (I have tested the code on a python shell, it is working appropriately). Can't solve that issue or rather, I don't understand.

8th Jul 2019, 5:40 AM
Chijioke Ezembadiwe
Chijioke Ezembadiwe - avatar
2 Answers
+ 3
We can't help either if you don't show us the code
8th Jul 2019, 5:43 AM
Airree
Airree - avatar
+ 3
If I understood you correctly; that is the input dialog, where you provide inputs for your program before the code and all the inputs are sent to SoloLearn server for processing. In SoloLearn, you are required to provide all the inputs needed before you can run the code. If your program takes N number of inputs then you need to write those N inputs on that dialog, each *usually* be written on a different line, then hit submit button. For example if your program requires 2 inputs - a string (name), and a number (age) then you write: <name-value> <age-value> On the input dialog, then hit the submit button. Notice carefully that the inputs are written on separate lines there.
8th Jul 2019, 6:21 AM
Ipang