Ex41 - EOFError

I have the code running fine…but was curious how to get it to tell me “Bye” from line 83. How do I trigger the EORError?

Thanks!

EOF is usually Ctrl+D.

A free service run by Zed A. Shaw for learncodethehardway.org.