Problem Solving Using Python 3.x programming