Pattern In Python Logical Operators Example