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