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

What goes in the blank?

import math
# greatest common divisor: (12, 18) -> 6
g = math.____(a, b)

Answer: gcd (also accepted: gcd, math.gcd, gcd())

math.gcd implements Euclid's algorithm in the standard library.
Play Problem Solving ▸