Important Notice:
The sqrt() function returns the non-negative square root of x. if x is negative, a domain error occurs.
Example:-
import math
print(math.sqrt(25))
print(math.sqrt(10))
print(math.sqrt(100))
output
5.0
3.1622776601683795
10.0