user
Create a loop to print the odd numbers in the given range

Now complete the following instance -
Input: range: 2 - 8
Output:
assistant
for num in range(2, 8):
    if num % 2 != 0:
        print(num)