Solved Write A Python Code That Fulfills The Below Criteria

Solved Write A Python Code That Fulfills The Below Criteria