A. Boolean value:1 "True2 "Falsetwo. Relational operators"=" (a=b): Assigns the value of B to a. Equal value Assignment"= =" (a==b): Determines whether A and B are equal. Return to Trule or flase"! = ": Not Equal to">": Greater than"<": Less than">=": greater than or equal to"<=": less than or equal tothree. Assignment Operators"+": Represents the connection operation, and the result is a new list is created"+ =": Is the replacement join Operation added in python2.0, as implies, equivalent to the Extend () method, actually adds the new list to the old list. For examplea=10b=5a+=b a=a+b"-=""*=""/="four. Logical operators1 "and: true if both sides of the equation are true 2 or: True on either side of the equation3 "not: logical non-operation, used to reverse the operation State of the logical number. If a condition is true, the logical non-operation returns false. 4 Priority order: not (highest)---and----or (lowest)
Python base 1.4 python operator