結果 : how to code exception in python