How to use input from file?

I’m doing the practice problems, and I can’t take an input because then I get an EOF Error. This is because no one is giving an input, it is taking the input from some file, though I’m not sure. How do I get it to use the input from the file, as I don’t know the name of the file?

Hello @Sahrid, can you pls share your code. Thanks :slight_smile:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.