Um array é especial se todo índice par contiver um número par e todo índice ímpar contiver um número ímpar. Crie uma função que retorne true se um array for especial e false caso contrário.
is_special_array([2, 7, 4, 9, 6, 1, 6, 3]) ➞ true
# Even indices: [2, 4, 6, 6]; Odd indices: [7, 9, 1, 3]
is_special_array([2, 7, 9, 1, 6, 1, 6, 3]) ➞ false
# Index 2 has an odd number 9.
is_special_array([2, 7, 8, 8, 6, 1, 6, 3]) ➞ false
# Index 3 has an even number 8.N/A