Solved Write A Python Program To Solve The Following

Solved Write A Python Program To Solve The Following