count()¶ Documentation Return an iterator with evenly spaced starting from the start, space by the step, default step is 1. 1 2 3 4 5 6 7 8 9 10 11 12 13from itertools import count n = count(start=10) for i in range(1,7): print(n.next()) >> 10 >> 11 >> 12 >> 13 >> 14 >> 15