October 2017
Beginner to intermediate
464 pages
12h 35m
English
Operators in Python expression are evaluated in the order shown here, for Python 3.0:
OPERATOR |
DESCRIPTION |
|
Function call |
|
Slicing |
|
Indexing |
|
Property or member access |
|
Exponentiation |
~ |
Bitwise NOT |
|
Plus/minus sign |
*, /, %, // |
Multiplication, division, remainder division, integer division (when operation is between two numbers); also multiplication of lists and strings: |
+, – |
Addition and subtraction (when operation is between two numbers); also |
|
Left and right bit shifts |
|
Bitwise AND |
|
Bitwise XOR ... |
Read now
Unlock full access