Calculate the Greatest common divisor from two numbers
1 2 3 4 5 6 7
def mcd(a,b): r=a while (r): r=a%b; a=b; b=r return a print mcd(120,95)
from fractions import gcd gcd(120,95)
Wilbur thanks,
Wilbur thanks,