結果 : handle different exceptions python