#4a. Codding in Python {LCM FINDER FOR NUMBER}.
#LCM Calculator
a=int(input("First Number:"))b=int(input("Second Number:"))
for c in range(1, a*b +1):
if c%a==0 and c%b==0:
print ("LCM is", c)
break
Download CODES here.
CLICK HERE for online Python.
a=int(input("First Number:"))b=int(input("Second Number:"))
for c in range(1, a*b +1):
if c%a==0 and c%b==0:
print ("LCM is", c)
break
Download CODES here.
CLICK HERE for online Python.
Comments