Posts by yellowb • 1 point
1 post
-
-2
votes4
answers6745
viewsA: How to implement a recursive MDC calculation algorithm in Python?
def mdc(a,b): if b == 0: return a else: return mdc(b, a%b)
1 post
-2
votes4
answers6745
viewsdef mdc(a,b): if b == 0: return a else: return mdc(b, a%b)