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.