<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def range(*args, interval=0):
 """Generate a given range of numbers. It supports the same arguments as the builtin function. An optional interval can be given to space the values out. """

    agen = from_iterable.raw(builtins.range(*args))
    return time.spaceout.raw(agen, interval) if interval else agen