human
Divide the two given numbers by their common divisors | print the numbers after dividing them by their common factors.
iterate from 1 to minimum of a and b.
if i is the common factor of both the numbers.
Driver code.
divide A and B by their common factors"
How can the above be solved in Python?

=====
Write me a code to divide the two given numbers by their common divisors and the other steps required?
assistant
#Here is code to divide the two given numbers by their common divisors and the other steps required.
 def divide ( a , b ) :
	for i in range ( 2 , min ( a , b ) + 1 ) :
		while ( a % i == 0 and b % i == 0 ) :
			a = a // i
			b = b // i
	print ( " A ▁ = " , a , " , ▁ B ▁ = " , b )
if __name__ == " _ _ main _ _ " :
	A , B = 10 , 15
	divide ( A , B )