How to write a function that prints out odd number 1-10?

I need to create a function in php that will print out only odd numbers from 1-10

Anyone can help me with this?
5 answers