python check if int is even or odd