Write a function that will return True if a given string (divided and grouped into a size) will contain a set of consecutive ascending numbers, otherwise, return False.
The expected solution for this challenge is done recursively. Please check out the Resources tab for more details about recursion if it needs be.
is_ascending("123124125") ➞ True
# Contains a set of consecutive ascending numbers
# if grouped into 3's : 123, 124, 125
is_ascending("101112131415") ➞ True
# Contains a set of consecutive ascending numbers
# if grouped into 2's : 10, 11, 12, 13, 14, 15
is_ascending("32332432536") ➞ False
# Regardless of the grouping size, the numbers can't be consecutive.
is_ascending("326325324323") ➞ False
# Though the numbers (if grouped into 3's) are consecutive but descending.
is_ascending("666667") ➞ True
# Consecutive numbers: 666 and 667.