Skip to content

Instantly share code, notes, and snippets.

@acwoss
Created April 19, 2018 18:56
Show Gist options
  • Save acwoss/b46feebdecb4550a54084db16172bcab to your computer and use it in GitHub Desktop.
Save acwoss/b46feebdecb4550a54084db16172bcab to your computer and use it in GitHub Desktop.
OldCommonBinarytree created by acwoss - https://repl.it/@acwoss/OldCommonBinarytree
def mdc(a, b):
return a if not b else mdc(b, a % b)
print(mdc(70, 25))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment