結果 : raise error in python function