from math import isqrt, sqrtnumber = 100result = sqrt(number)# result is 10.0# Целый корень, округлённый внизroot = isqrt(99)# root is 9# sqrt(-1): ValueError, а не NaNprint(f"{result = }")print(f"{root = }")