PyDocs
Standard Library
(3.15.2)
Quick Reference
Log In
Nav
Top
Examples
1
See Also
0
Notes
0
Numeric and Mathematical Modules
cmath
decimal
fractions
math
math.integer
numbers
random
statistics
All modules
PyDocs
Standard Library
Quick Ref
Log In
Staging: this is not the live site, pydocs.org.
PyDocs
Standard Library
Quick Ref
Log In
Nav
Top
Examples
1
See Also
0
Notes
0
Numeric and Mathematical Modules
cmath
decimal
fractions
math
integer
numbers
random
statistics
All modules
sqrt
cmath
function
sqrt(z)
Return the square root of z.
© Python Software Foundation.
PSF License Version 2
·
Official docs ↗
1 Example
Run
link
/
history
/
report
>>> cmath.sqrt
(
-2-0j
)
-1.4142135623730951j
from the Python docs
Log in
to add an example
See Also
No see-alsos for
cmath/sqrt
Log in
to add a see-also
0 Notes
No notes for
sqrt
Log in
to add a note