結果 : how to write try except in python