Skip to content

Pratim14/GCD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

#GCD using recursion m=int(input("Enter Value 1")) n=int(input("Enter Value 2"))

def gcd(m,n): if(n==0): return m else: return gcd(m,n%m)

print ("The GCD of the 2 numbers are " ) print(gcd(m,n))

About

GCD using recursion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published