Python coding exercises with solutions