Logic And Bitwise Operators In Python