結果 : how to throw a exception in python