結果 : how to handle valueerror in python