Calculate and get the greatest common divisor and least common multiple in Python https://from-locals.com/python-gcd-lcm/