input: Write a python function to generate odd numbers up to a given number using a generator.
  assert list(oddNumbers(10)) == [1, 3, 5, 7, 9]
  assert list(oddNumbers(15)) == [1, 3, 5, 7, 9, 11, 13, 15]
  assert list(oddNumbers(0)) == []
output: def oddNumbers(n):
      for i in range(1, n + 1, 2):
          yield i