# Python program to find the LCM of two numbers using recursive

0
74574
```def lcm(a,b):
lcm.multiple=lcm.multiple+b
if((lcm.multiple % a == 0) and (lcm.multiple % b == 0)):
return lcm.multiple;
else:
lcm(a, b)
return lcm.multiple
lcm.multiple=0
x=int(input("Please enter first number: "))
y=int(input("Please enter second number: "))
if(x>y):
l_c_m=lcm(y,x)
else:
l_c_m=lcm(x,y)
print(l_c_m)

Output 1:
Please enter first number: 10
Please enter second number: 15
L.C.M. is: 30
Output 2:
Please enter first number: 8
Please enter second number: 9
L.C.M. is: 72```

इन्हें भी देखें।

Python Programs के लिये यहाँ click करें।

Python program to find the LCM of two numbers using recursive program to find the LCM of two numbers using recursive in python write a program to find the LCM of two numbers using recursive in python write a python program to find the LCM of two numbers using recursive lcm program using recursive in python find the LCM of two numbers using recursive find the LCM of two numbers using recursive in python python program to find the lcm of two numbers using recursion program to find lcm of two numbers using recursion program to find lcm of two numbers using recursion in python write a python program to find the lcm of two numbers using recursion write a program to find lcm of two numbers using recursion program to find lcm of two numbers in python using recursion write a program in python to find the lcm of two numbers using recursion python program to find lcm of two numbers using recursion wap to find lcm of two numbers using recursion