← Go Back

How to Find the Square Root of a Number

Using the math.sqrt() (from square root) standard function:

>>> from math import sqrt
>>> sqrt(16)
4.0

An alternative is to raise the number to 0.5:

>>> 16 ** 0.5
4.0

math arithmetic-operations


🐍 You might also find interesting: