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