input: Write a python function to calculate the sum of all odd numbers up to a given maximum number.
  assert calculate_sum_of_odd_numbers(15) == 64
  assert calculate_sum_of_odd_numbers(10) == 25
  assert calculate_sum_of_odd_numbers(1) == 1
output: def calculate_sum_of_odd_numbers(max_number):
      return sum(i for i in range(1, max_number + 1) if i % 2 != 0)