Method I:
1. Install Jupyter Notebook
pip install jupyter
2, in PyCharm new Jupyter Notebook file
Steps: File-"New... -Jupyter Notebook-"Input file name
After building the effect shown below, is the familiar Jupyter Notebook interface:
3. Running
Enter the code and click the little green triangle to run the code.
Method II:
1. Install Jupyter Notebook
pip install jupyter
2. Open the Python Console.
Open PyCharm and click into the Python Console at the bottom left of the interface to see the familiar Jupyter Notebook interface:
3. Running
Enter the code and click the little green triangle on the left to run it, or press Enter.
PS: Since pressing Enter is running the code, press Shift + Enter if you want to change lines.
The above summary of the two methods of using Jupyter Notebook in the PyCharm environment is all I have shared with you.