1、Typing an end-of-file character (Control-D on Unix,Control-Z on Windows)at the primary prompt causes the interpreter to exit with a zero exit status. If that doesn’t work, you can exit the interpreter by typing thefollowing command: quit().