結果 : if function returns error python