Conditional Logical Operators In Python