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