make sure a number is in range 0, 1 python code example Example: for i in range start for i in range([start], stop[, step])