I keep getting this message before running my python code " looks like your program need input " what does that mean? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I keep getting this message before running my python code " looks like your program need input " what does that mean?

https://code.sololearn.com/cOE65MdP06m8/?ref=app

11th Aug 2020, 4:17 AM
Micheal Edwards
Micheal Edwards - avatar
5 Answers
+ 2
Hmm. You know here none of the programing languages code playground are interactive. Si it will not ask input as it asks in your IDE here you need to give all input at once in different lines that's all
11th Aug 2020, 4:28 AM
Ayush Kumar
Ayush Kumar - avatar
+ 1
It means your program requires input to complete execution. In your case, your program requires two input values. An example of how to input the values is shown below: 5 3 Enter your first input on the first line, then press the return key to enter the second input on the second line. Each line is an input value. Your code had a small bug. I attached a fixed version below. https://code.sololearn.com/c95W4nGu4ak0/#py Hope this helps.
11th Aug 2020, 4:24 AM
Edward Finkelstein
Edward Finkelstein - avatar
+ 1
Yes, so for that code you can enter as many lines as you want.
11th Aug 2020, 4:39 AM
Edward Finkelstein
Edward Finkelstein - avatar
0
Thank you but that wasn't the code I wrote I put the code I actually wrote
11th Aug 2020, 4:28 AM
Micheal Edwards
Micheal Edwards - avatar
0
Thanks
11th Aug 2020, 5:03 AM
Micheal Edwards
Micheal Edwards - avatar