def drange(start, stop, step=1):
    """
    Creates lists containing arithmetic progressions of any number type (int,
    float, ...)
    """
    r = start
    while r < stop:
        yield r
        r += step
