結果 : check if a number is even or odd python code