python input error
When I try running an `input` function in Python, like:
```
subject = input("Enter a subject in lower case: ")
```
I keep encountering this error:
```
enter a subject in lower case:
Traceback (most recent call last):
File "main.py", line 5, in <module>
subject = input("enter a subject in lower case: ")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 29] I/O error
```
I also get the same error when using `input` in other programs.
Any ideas on how to fix this?"
Please sign in to leave a comment.