i have a python homework and i need help

I have a python homework and I need help.

the instructions are in file and it’s easy.