input: Write a function that prints all the odd numbers from 1 to 10.
  assert print_odd_numbers()
  Step 1: Define the function print_odd_numbers().
  Step 2: Iterate from 1 to 10 using a for loop.
  Step 3: Within the loop, check if the number is odd using the modulus operator.
  Step 4: If the number is odd, print it.
  assert print_odd_numbers()
output: def print_odd_numbers():
      for i in range(1, 11):
          if i % 2 != 0:
              print(i)