human
Print N lines of 4 numbers such that every pair among 4 numbers has a GCD K | Function to print N lines.
Iterate N times to print N lines.
Driver code"
How can the above be solved in Python?
assistant
#Here is code to print N lines of 4 numbers such that every pair among 4 numbers has a GCD K and the other steps required.
 def printLines ( n , k ) :
	for i in range ( n ) :
		print ( k * ( 6 * i + 1 ) , k * ( 6 * i + 2 ) , k * ( 6 * i + 3 ) , k * ( 6 * i + 5 ) )
if __name__ == " _ _ main _ _ " :
	n , k = 2 , 2
	printLines ( n , k )