Define Logical Operator In Python