Skip to content

Instantly share code, notes, and snippets.

@cocodrips
Created March 5, 2014 01:51
Show Gist options
  • Save cocodrips/9359731 to your computer and use it in GitHub Desktop.
Save cocodrips/9359731 to your computer and use it in GitHub Desktop.
最小公倍数
def lcm(a, b):
return a * b // gcd (a, b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment