MCPcopy Create free account
hub / github.com/ZiniuLu/Python-100-Days / lcm

Function lcm

Day01-15/Day06/function2.py:21–22  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

19
20
21def lcm(x, y):
22 return x * y // gcd(x, y)
23
24
25print(gcd(15, 27))

Callers 1

function2.pyFile · 0.85

Calls 1

gcdFunction · 0.85

Tested by

no test coverage detected