The arithmetical operators commonly used in Python programming are listed in the table shown on the presentation of this lecture, together with the operation they perform.
The operators for addition, subtraction, multiplication, and division act as you would expect. Care must be taken, however, to group expressions where more than one operator is used to clarify the expression – operations within innermost parentheses are performed first.