When will python raise a ‘ TypeError ’
Answers
Answered by
2
Answer:
TypeError is thrown when an operation or function is applied to an object of an inappropriate type. ValueError is thrown when a function's argument is of an inappropriate type. NameError is thrown when an object could not be found. ZeroDivisionError is thrown when the second operator in the division is zero.
Answered by
1
Explanation:
TypeError is thrown when an operation or function is applied to an object of an inappropriate type. ValueError is thrown when a function's argument is of an inappropriate type. NameError is thrown when an object could not be found. ZeroDivisionError is thrown when the second operator in the division is zero.
Hope you got the answer
please mark branlist
Similar questions