Solved Help With Writing Python Code For Problem 2 reject

Solved Help With Writing Python Code For Problem 2 reject