Python Programming Using Functions To Solve