The code works correctly. It prints odd numbers from 1 to 9.
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:
Debug this Python code. It should print odd numbers from 1 to 9.

### Input:
`python
for i in range(10):
    if i % 2 != 0:
        print(i)
`

### Response:
The code works correctly. It prints odd numbers from 1 to 9.<|im_end|>