def float_range(start=<NUM_LIT:0>, stop=None, step=<NUM_LIT:1>):
start = float(start)<EOL>while start < stop:<EOL><INDENT>yield start<EOL>start += step<EOL><DEDENT>
Much like the built-in function range, but accepts floats

>>> tuple(float_range(0, 9, 1.5))
(0.0, 1.5, 3.0, 4.5, 6.0, 7.5)