結果 : how to throw value error in python