Arithmetic operators
Arithmetic operators calculate a new number. Use parentheses when you want a group to be evaluated first.
Calculate the cost of two items
Add the unit costs before multiplying by quantity.
print((8 + 2) * 3)
print(7 % 3)
30
1
The first expression produces 30. The percent operator gives the remainder after division.