Operators are used to specifically perform different tasks/operations on variables and values, and they include the following;
· Arithmetic operators like +, -
· Assignment operators like =,&=
· Logical operators like “and”, “or”
· Membership operators like “in” “not in”
· Bitwise operators like &, |, ^
These are used with in combination with the numeric values to perform common mathematical operations as shown in the table below.
These operators are used to compare two values as shown below.