What goes in the blank?
import math # least common multiple: (4, 6) -> 12 lcm = a * b ____ math.gcd(a, b)
Answer: //
lcm(a, b) = a * b / gcd(a, b); integer division keeps the result an int.
Play Problem Solving ▸
import math # least common multiple: (4, 6) -> 12 lcm = a * b ____ math.gcd(a, b)
Answer: //