math.sqrt(x) returns a ValueError if x is a negative number.
Python Modules
3 Likes
Answer
True
Reason — The math.sqrt(x) function in Python returns a ValueError if x is a negative number because the square root of a negative number is not a real number.