-
-
Save parzibyte/0ad1eceda85a29a28474e2f64794b9bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def maximo_comun_divisor(a, b): | |
temporal = 0 | |
while b != 0: | |
temporal = b | |
b = a % b | |
a = temporal | |
return a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment