Finding squreroot of -ve number is type of error:
Answers
Answered by
0
Answer:-
In PYTHON , the error for finding the squre root of any negative number is math domain error.
Example:-
>>> math.sqrt(-25)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: math domain error
Similar questions