'''
You are going to write a program that calculates the sum of all the even numbers from 1 to 100. 
Thus, the first even number would be 2 and the last one is 100:
i.e. 2 + 4 + 6 + 8 +10 ... + 98 + 100
Important, there should only be 1 print statement in your console output. 
It should just print the final total and not every step of the calculation.
'''

even_numbers = 0
for i in range(1, 101):
  if i % 2 == 0:
    even_numbers += i
print(even_numbers)


'''
** Shorter resolution **

total = 0
for number in range(2, 101, 2):
    total += number
print(total)
'''