iterate odd numbers before even number python code example Example: python for loop even numbers for i in range(2,11,2): # range(start, end, step) print(i)