human
Check if sum of arr [ i ] / j for all possible pairs ( i , j ) in an array is 0 or not | Function to check if sum of all values of ( arr [ i ] / j ) for all 0 < i <= j < ( N - 1 ) is 0 or not.
Stores the required sum.
Traverse the array.
If the sum is equal to 0.
Otherwise.
Driver Code"
Solution in Python:

Can you provide a code to check if sum of arr [ i ] / j for all possible pairs ( i , j ) in an array is 0 or not and the other steps required?
assistant
#Here is code to check if sum of arr [ i ] / j for all possible pairs ( i , j ) in an array is 0 or not and the other steps required.
 def check ( arr , N ) :
	sum = 0
	for i in range ( N ) :
		sum += arr [ i ]
	if ( sum == 0 ) :
		print ( " Yes " )
	else :
		print ( " No " )
if __name__ == ' _ _ main _ _ ' :
	arr = [ 1 , - 1 , 3 , - 2 , - 1 ]
	N = len ( arr )
	check ( arr , N )