Solved 1 Please Write The Following Program In Python 3

Solved 1 Please Write The Following Program In Python 3