Input function

I am trying to get an input from the user to assign to a variable in my code but I keep getting an EOFError: EOF when reading a line. What am I doing wrong and how do I fix this?

Please show us your code and link to the exercise so we can test it.

1 Like

It may be related to quick timeout of the input function. As soon a you click Run, click in the console and enter a letter as fast as you can. You have a second or two (may have) if it even works.

If you set up a basic Python environment, even in your User account, you will be able to run this code on your machine without this issue.