
James S. answered 09/15/19
Tutor
5.0
(148)
Specializing in Full-Stack Development, SQL, JavaScript, HTML, and CSS
This graph should help you out.
Operator | Description | |
() | Parentheses (grouping) | |
f(args...) | Function call | |
x[index:index] | Slicing | |
x[index] | Subscription | |
x.attribute | Attribute reference | |
** | Exponentiation | |
~x | Bitwise not | |
+x, -x | Positive, negative | |
*, /, % | Multiplication, division, remainder | |
+, - | Addition, subtraction | |
<<, >> | Bitwise shifts | |
& | Bitwise AND | |
^ | Bitwise XOR | |
| | Bitwise OR | |
in, not in, is, is not, <, <=, >, >=, <>, !=, == | Comparisons, membership, identity | |
not x | Boolean NOT | |
and | Boolean AND | |
or | Boolean OR | |
lambda | Lambda expression |