What is EOF error in Python
EOF stands for End Of File. This error means that there was an open parenthesis somewhere on a line, but not a matching closing parenthesis. Python reached the end of the file while for the closing parenthesis.
Example: a = 2 + ( 3 – 1
If we try to run the above piece of code, we will get an EOF error.
Subscribe
Login
Please login to comment
0 Discussion