+ 1

Excuse me, why do they always ask us to input without telling us what it is for in python.

In python, when you put input, it will not tell you what it is about. if you are a python coder you will know what i am talking about

15th Aug 2025, 6:06 PM
Ivan
Ivan - avatar
2 Respuestas
+ 1
maybe you think for something like this? input("please enter a/n...:" )
15th Aug 2025, 6:28 PM
Mihaly Nyilas
Mihaly Nyilas - avatar
+ 1
Sololearn runs your Python program as a background batch job. In order give it input, the batch job must read input from a file. By design, batch jobs cannot be interactive with a console. So, before running your program, the script that submits the batch job scans your source code for input keywords. If it finds any, then it prompts you for the input and stores your entries into the file that is later provided to the batch job at run time. Because the input is gathered before runtime, it does not know what the prompt should be. It just asks generically for you to enter whatever the program may expect as input.
15th Aug 2025, 8:25 PM
Brian
Brian - avatar