python exercises with solutions pdf