ValueError
python ValueError
Raised when a function receives an argument of the right type but an inappropriate value, and the situation is not described by a more specific exception such as IndexError.
Raised when a function receives an argument of the right type but an inappropriate value, and the situation is not described by a more specific exception such as IndexError.