## Task
Complete function `splitOddAndEven`, accept a number `n`(n>0), return an array that contains the continuous parts of odd or even digits.
Please don't worry about digit `0`, it won't appear ;-)
## Examples
from itertools import groupby


def split_odd_and_even(n):
    return [int(''.join(str(b) for b in g)) for k, g in
            groupby((int(a) for a in str(n)), key=lambda b: b % 2)]
from itertools import groupby


def split_odd_and_even(n):
    return [int(''.join(str(b) for b in g)) for k, g in
            groupby((int(a) for a in str(n)), key=lambda b: b % 2)]