input: Write a function to print out all the odd numbers from 1 to a given number n.
  
  def print_odd_numbers(n):
      for i in range(1, n + 1):
          if i % 2 != 0:
              print(i)
  
  assert print_odd_numbers(10)
  assert print_odd_numbers(15)
  assert print_odd_numbers(5)
  assert print_odd_numbers(20)
  assert print_odd_numbers(0)
output: def print_odd_numbers(n):
      for i in range(1, n + 1):
          if i % 2 != 0:
              print(i)