Quitting Python
Usually, we have several ways to quit Python, which are as follows:
- The first way to quit Python is to use Ctrl + D
- The second way to quit is Ctrl + Q
- The third way to quit is to click on File and then on Exit
- The fourth way is to click on X at the top-right corner of the window (that is, close the window)
Later in the book, we will explain how to embed certain codes to quit Python when a currently running program is finished.