Computer science Python program

I need an ipynb program that matches all the specifications