Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created March 30, 2021 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/b6ee0f0b28ca82dfbc0a5a46d4d73d66 to your computer and use it in GitHub Desktop.
Save parzibyte/b6ee0f0b28ca82dfbc0a5a46d4d73d66 to your computer and use it in GitHub Desktop.
def maximo_comun_divisor_recursivo(a, b):
if b == 0:
return a
return maximo_comun_divisor_recursivo(b, a % b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment