python for range 1 to 10 code example Example: for i in range start for i in range([start], stop[, step])