The method of executing Python code using jupyter

1. First, open Anaconda, find jupyter, and start it, or use the jupyter notebook command in cmd to start jupyter, which will open the jupyter main interface

2. Create a new notebook

Click New and select the type of notebook you want to launch. Taking Python 3 as an example.

3. Use jupyter to execute code

After entering the code in the code cell, use the Shift key combination+ Enter to run the code.