DEV Community

Discussion on: Day 54 Of 100DaysOfCode: More About Algorithm

Collapse
 
otumianempire profile image
Michael Otu
def compute_gcd(a,b):
    while(b):
        a, b = b , a % b
    return a
Enter fullscreen mode Exit fullscreen mode

You have written different versions of this function...

Collapse
 
iamdurga profile image
Durga Pokharel

thank you for the suggestion.