結果 : how to catch id error in python