input: Write a function to print all the odd numbers from 1 to 10 using a loop.
  assert print_odd_numbers()==None
  assert [i for i in range(1, 11) if i % 2 != 0]==[1, 3, 5, 7, 9]
output: def print_odd_numbers():
      for i in range(1, 11):
          if i % 2 != 0:
              print(i)