> So, shouldn't that piece of code be: > > return x%2 and 'Odd' or 'Even' > > to make it semantically correct? As it is, it returns 'Odd' for even > numbers, and vice versa. Woops! Never post untested code! You are quite correct. Alan G.