Write a python function to find gcd using eucliean algorithm


Topic: Write a python function to find gcd using eucliean algorithm

Solution

def gcd(a, b):  
    if a == 0 : 
        return b  
      
    return gcd(b%a, a)
	



List all Python Programs