why is it that when you run python program it will bring something like this "look like your program need input " what shouldido | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

why is it that when you run python program it will bring something like this "look like your program need input " what shouldido

9th Oct 2023, 4:36 PM
Layfix103
Layfix103 - avatar
2 Answers
+ 1
Either give input or do not use input() and give default values.
9th Oct 2023, 4:56 PM
Lisa
Lisa - avatar
+ 1
Also, if your program needs multiple inputs, you have to supply ALL the inputs, and each input in their own line.
10th Oct 2023, 3:46 AM
Wong Hei Ming
Wong Hei Ming - avatar