Featured image of post Print Only Odd Numbers Python / When the above code is executed, it produces the following results.

Print Only Odd Numbers Python / When the above code is executed, it produces the following results.

Then use an if statement if check whether the number is odd or not and print the number.