-
Data Structures
-
Iteration
-
Mathematics
-
Files
-
Programming On A Machine
-
Exercises
Common Operations
Python has instructions for common mathematical operations.
Add, Subtract, Multiply and Divide
They are like a function but they are written in between the parameters.
Additon using the +
character
I think they are like this as we are used to seeing this pattern in mathematics? This is the same as a function called add.
Subtraction, multiplication and division are the same, just with different characters