math.gcd(a, b)
Return the greatest common divisor of the integers a and b. If either a or b is nonzero, then the value of gcd(a, b)
is the largest positive integer that divides both a and b. gcd(0, 0)
returns 0
.
New in version 3.5.
math.gcd(a, b)
Return the greatest common divisor of the integers a and b. If either a or b is nonzero, then the value of gcd(a, b)
is the largest positive integer that divides both a and b. gcd(0, 0)
returns 0
.
New in version 3.5.
Please login to continue.