I am stuck on ex41 (sort of). I can run the code fine, however, whenever I try to exit or execute the EOFError funtion but inputting CTRL-D, it doesn’t exist out of while-loop. It continues on.
If I type in CTRL-C is exits me out with an error, Keyboard Interrupt.
Not sure what I am doing wrong.
Any input would be greatly appreciated!
Are you on Windows? If so, try ctrl+z
and then return
.
Yes I am using windows. CTRL-Z worked. Thanks!