human
Program to find LCM of two numbers | Recursive function to return gcd of a and b.
Function to return LCM of two numbers.
Driver program to test above function"
How can the above be solved in Python?
assistant
#Here is code to program to find LCM of two numbers and the other steps required.
 def gcd ( a , b ) :
	if a == 0 :
		return b
	return gcd ( b % a , a )
def lcm ( a , b ) :
	return ( a / gcd ( a , b ) ) * b
a = 15
b = 20
print ( ' LCM ▁ of ' , a , ' and ' , b , ' is ' , lcm ( a , b ) )