input: Write a python function to calculate the sum of even numbers up to a given number.
  assert calculateSumOfEvenNumbers(10) == 30
  assert calculateSumOfEvenNumbers(20) == 110
  assert calculateSumOfEvenNumbers(50) == 650
output: def calculateSumOfEvenNumbers(n):
      return sum(i for i in range(2, n + 1, 2))