start = 14 stop = 108 jump = 2 sum = 0 for i in range(start, stop+1, jump): sum += i print(sum)