Using Logical Operators In Python