結果 : how to handle different exceptions in python