Which of the following is the shortcut key combination for exiting Python shell?
Ctrl+Q
Reason — The shortcut key combination for exiting Python shell is Ctrl+Q.