結果 : how to throw a value error in python