Computer Science, asked by Sahana2006, 4 months ago

When will python raise a ‘ TypeError ’​

Answers

Answered by rekhesajeri
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 anshswain34
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