Solved Please Help Me Solve This Python Code Assignment

Solved Please Help Me Solve This Python Code Assignment