The Jupyter Notebook is a wonderful open source web application that you can use to create documents that contain live…