human
Reverse an array without using subtract sign â €˜ | Function to reverse array.
Trick to assign - 1 to a variable.
Reverse array in simple manner.
Swap ith index value with ( n - i - 1 ) th index value.
Driver code.
print the reversed array"
Solution in Python:

=====
Write me a code to reverse an array without using subtract sign â €˜ and the other steps required?
assistant
#Here is code to reverse an array without using subtract sign â €˜ and the other steps required.
 def reverseArray ( arr , n ) :
	import sys
	x = - sys . maxsize // sys . maxsize
	for i in range ( n // 2 ) :
		arr [ i ] , arr [ n + ( x * i ) + x ] = arr [ n + ( x * i ) + x ] , arr [ i ]
if __name__ == " _ _ main _ _ " :
	arr = [ 5 , 3 , 7 , 2 , 1 , 6 ]
	n = len ( arr )
	reverseArray ( arr , n )
	for i in range ( n ) :
		print ( arr [ i ] , end = " ▁ " )