{article Examples__Python 3.4 }{title} {text}{/article}

Python operators

CommandNameExampleOutput
+ Addition 4 + 5 9
- Subtraction 8 - 5 3
* Multiplication 4 * 5 20
/ Division 19 / 3 6
% Remainder 19 % 3 1
** Exponent 2 ** 4 16