Build a lazy range generator with steps and bounds.
Constraints
Example
>>> list(custom_range(5)) [0, 1, 2, 3, 4] >>> list(custom_range(2, 8, 2)) [2, 4, 6] >>> list(custom_range(10, 0, -3)) [10, 7, 4, 1] >>> list(custom_range(3, 3)) []
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints