Solved Encapsulate The Following Python Code From Section

Solved Encapsulate The Following Python Code From Section