結果 : python if function returns error