$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #317

What goes in the blank?

import math
# least common multiple: (4, 6) -> 12
lcm = a * b ____ math.gcd(a, b)

Answer: // (also accepted: //)

lcm(a, b) = a * b / gcd(a, b); integer division keeps the result an int.
Play Problem Solving ▸