#you can specify incremental values for for loops in python too! for x in range(1,10,2): doSomething(x)