python for increment by 2 code example Example 1: python for loop jump by 2 for i in range(0,10,2): print(i) Example 2: python increment by 1 #a = a + 1 a += 1