Important Notice:

Course Content
The Calendar Module
Library Function/Predefined Functions
0/4
Sys Module
Library Function/Predefined Functions
0/2
OS Module
Library Function/Predefined Functions
0/2
Functions in Python (Chapter-10) M3-R5
About Lesson

sqrt():-

        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

error: Content is protected !!