try jupyter notebook code example
Example 1: ipython notebook
pip install notebook
Example 2: jupyter notebooks
# to install jupyter notebook or jupyter lab, you can use pip or conda
# jupyter notebook pip
pip install notebook
# jupyter notebook conda
conda install -c conda-forge notebook
# jupyter lab pip
pip install jupyterlab
# jupyter lab conda
conda install -c conda-forge jupyterlab