human
Program to print factors of a number in pairs | Python 3 program to print prime factors in pairs ..
Driver code"
Solution in Python:
assistant
#Here is code to program to print factors of a number in pairs and the other steps required.
 def printPFsInPairs ( n ) :
	for i in range ( 1 , int ( pow ( n , 1 / 2 ) ) + 1 ) :
		if n % i == 0 :
			print ( str ( i ) + " * " + str ( int ( n / i ) ) )
n = 24
printPFsInPairs ( n )