human
What is a code to in and the other steps required given the following:
In | Function to reverse arr [ ] from start to end.
Driver code"
Solution in Python:
assistant
#Here is code to in and the other steps required.
 def revereseArray ( arr , n ) :
	for i in range ( 0 , int ( n / 2 ) ) :
		arr [ i ] , arr [ n - i - 1 ] = arr [ n - i - 1 ] , arr [ i ]
if __name__ == " _ _ main _ _ " :
	arr = [ 1 , 2 , 3 , 4 , 5 , 6 ]
	n = len ( arr )
	print ( * arr )
	revereseArray ( arr , n )
	print ( " Reversed ▁ array ▁ is " )
	print ( * arr )