File “script.py”, line 2, in
n = int(input())
EOFError: EOF when reading a line
This error is coming .
please help me in python language how to write programs
File “script.py”, line 2, in
n = int(input())
EOFError: EOF when reading a line
This error is coming .
please help me in python language how to write programs
hello @1857harshitgupta
u need to give input before clicking on run.
it is called end of file error i.e the program is trying to read input from file/console but it is empty.
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.