input: Write a function to print all the odd numbers from 1 to the given number `n`. If `n` is less than 1, print an empty line.
  assert print_odd_numbers(10)==None
  assert print_odd_numbers(5)==None
  assert print_odd_numbers(1)==None
  assert print_odd_numbers(0)==None
output: def print_odd_numbers(n):
      if n < 1:
          print()
      else:
          for i in range(1, n + 1, 2):
              print(i)