python test if integer is odd