Add a third argument to control the step size: range(0, 10, 2) gives , , , , . It counts by 2s instead of 1s. range(1, 10, 3) gives , , . Starting at , adding each time, stopping before . The step doesn't have to divide evenly into the range.
You can even count backwards with a negative step: range(5, 0, -1) gives , , , , . Start at , step by -, stop before . This is useful when you need a countdown or reverse iteration through a sequence.