input_array result for ind el in enumerate input_array if ind result a

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
input_array = [2, 7, 3, 4, 5]
result = []
for ind, el in enumerate(input_array):
if ind % 2 == 0:
result.append(el*2)
else:
result.append(el*3)
print(result)