code: def frange(start, end, step):
      
      if start <= end:
          step = abs(step)
      else:
          step = -abs(step)
  
      while start < end:
          yield start
          start += step
docs: A range implementation which can handle floats