Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

최소공배수(LCM), 최대공약수(gcd) #6

Open
hyez opened this issue Apr 29, 2021 · 0 comments
Open

최소공배수(LCM), 최대공약수(gcd) #6

hyez opened this issue Apr 29, 2021 · 0 comments

Comments

@hyez
Copy link
Owner

hyez commented Apr 29, 2021

from math import gcd # 최대공약수

def lcm(x, y):
    return x * y // gcd(x, y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant