Perpustakaan LCM Math Python
from math import gcd
def lcm(a,b):
return a*b/(gcd(a,b))
print(lcm(12,70))
//output: 420
TheBeast5520
from math import gcd
def lcm(a,b):
return a*b/(gcd(a,b))
print(lcm(12,70))
//output: 420