input: Write a python function to calculate the sum of the series num / (num + 2) for all odd numbers from 1 to 97.
  assert calculate_series() == 22.879036348972347
output: def calculate_series():
      return sum(num / (num + 2) for num in range(1, 98, 2))