What goes in the blank?
import math # whole-number square root: 17 -> 4 r = math.____(n)
Answer: isqrt
math.isqrt returns the floor of the square root using exact integer arithmetic, safe for huge n.
Play Problem Solving ▸
import math # whole-number square root: 17 -> 4 r = math.____(n)
Answer: isqrt