increment a number by 1 python in for loop code example Example: python increment by 1 #a = a + 1 a += 1