python for in range doesn't work with user input code example Example: for i in range start for i in range([start], stop[, step])