Python Conditions 🐍 Working with logical operators in Python. OperatorSymbol Equalsa == b Not Equals a != b Less thana < b Less than or equal toa <= b Grater thana > b Grater than equal toa >=b Can be used with "If statements" and loops.