# Problem Statement An array is considered **special** if every pair of its adjacent elements contains two numbers with different parity. You are given an array of integers `nums`. Return `true` if `nums` is a **special** array, otherwise, return `false`. ## Constraints - `1 <= nums.length <= 100` - `1 <= nums[i] <= 100` # Solution This problem is very straight-forward and doesn't require any sort of tricks. We can solve it in one line using [[itertools.pairwise]]: ```python return all(a%2!=b%2 for a, b in pairwise(nums)) ```