Implement solve(start, stop, step) as a generator function that yields integers from start up to (but not including) stop, incrementing by step each time.
Examples
list(solve(0, 10, 2)) → [0, 2, 4, 6, 8]list(solve(1, 6, 1)) → [1, 2, 3, 4, 5]list(solve(5, 0, -1)) → [5, 4, 3, 2, 1]list(solve(0, 0, 1)) → []Constraints
step may be negative (count down).step == 0, raise a ValueError.range().yield keyword.Sample tests