human
In | Function to reverse arr [ ] from start to end.
Create a copy array and store reversed elements.
Now copy reversed elements back to arr [ ].
Driver code"
How can the above be solved in Python?
 ... What is a code to in and the other steps required?
assistant
#Here is code to in and the other steps required.
 def revereseArray ( arr , n ) :
	rev = n * [ 0 ]
	for i in range ( 0 , n ) :
		rev [ n - i - 1 ] = arr [ i ]
	for i in range ( 0 , n ) :
		arr [ i ] = rev [ 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 )