We can come out of the Python console in two ways: The keyboard shortcut: Ctrl + D Using the quit() or exit() functions