3. To write a python program to compute the GCD of two numbers.

 def gcd(a, b):

    if b == 0:

        return a

    else:

        return gcd(b, a % b)


# Example usage

a = 48

b = 60

print(gcd(a, b)) # Output: 12