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