結果 : how to write a try except in python