Answer:
The way the range( ) function works, number goes from 0 to 4, excluding 5. So it will print:
even
odd
even
odd
even
So your expectation is incorrect, or your implementation is incorrect. If you want to test numbers 1 through 5, you could change the first line of the code to:
for number in range(1,6):