Logical Operators In Python List