ID EN
Math

isqrt

Python 3.11

Return the integer square root of the nonnegative integer n. This is the floor of the exact square root of n, or equivalently the greatest integer a such that a² ≤ n.

Syntax

PYTHON
math.isqrt(n)