Mojo function
lcm
lcm(m: Int, n: Int, /) -> Int
Computes the least common multiple of two integers.
Args:
Returns:
Int: The least common multiple of the two integers.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!