Closed lshpaner closed 3 weeks ago
Added the following line at the top of the function (after the docstring) to raise an error if user does not explicitly enter a y input:
y
# Check if y is provided if y is None: raise ValueError("The y parameter is required and cannot be None.")
Added the following line at the top of the function (after the docstring) to raise an error if user does not explicitly enter a
y
input: