greatest common divisor algorithm python code example Example: python greatest common divisor math.gcd(int1, int2)