human
Analysis of Algorithms | Big | Function to print all possible pairs.
Given array.
Store the size of the array.
Function Call"
How can the above be solved in Python?
assistant
#Here is code to analysis of Algorithms and the other steps required.
 def printt ( a , n ) :
	for i in range ( n ) :
		for j in range ( n ) :
			if ( i != j ) :
				print ( a [ i ] , " " , a [ j ] )
a = [ 1 , 2 , 3 ]
n = len ( a )
printt ( a , n )