human
Print alternate elements of an array | ''Function to print Alternate elements of the given array.
'' Print elements  at odd positions.
'' Print elements of array.
''Driver Code"
Solution in Python:
assistant
#Here is code to print alternate elements of an array and the other steps required.
 def printAlter ( arr , N ) :
	for currIndex in range ( 0 , N , 2 ) :
		print ( arr [ currIndex ] , end = " ▁ " )
if __name__ == " _ _ main _ _ " :
	arr = [ 1 , 2 , 3 , 4 , 5 ]
	N = len ( arr )
	printAlter ( arr , N )