questions needs to be done in jupyter notebook and all codes must run

This is in Jupyter notebook format. Note there is also an additional PNG file that is needed for problem #14. It needs to reside in the same directory path as the notebook.