input: Write a function to print all odd numbers from 1 to 10 using a loop in Python. The function should not take any parameters.
  
  assert [1, 3, 5, 7, 9]==[i for i in range(1, 11) if i % 2 != 0]
output: for i in range(1, 11):
      if i % 2 != 0:
          print(i)