def test_ask_and_validate(io): error = "This is not a color!" def validator(color): if color not in ["white", "black"]: raise Exception(error) return color ...
確定! 回上一頁