Install Python on the system. After that, run the following command in the terminal to install the Jupyter notebook on the system:
pip install notebook
After running the above line in the terminal, we’ll be ready to run the Jupyter notebook.
To run the Jupyter notebook, write the below command in the terminal:
Jupyter notebook
This command opens the Jupyter notebook in our browser, as shown below:
Now, open the file or create a new one, then press “Run” on the Jupyter notebook.
As shown in the figure above, we write code in the code cell and press the “Run” button.
Note: We can write as many codes as we want in different blocks (code cells) but make sure to select the cell first, and then press “Run”.
RELATED TAGS
CONTRIBUTOR
View all Courses