Arithmetic Operators in Python 3
Arithmetic operators are used to perform mathematical calculations in a program. Various Arithmetic Operators in Python 3 are:
| Operator | Purpose | Example |
| +
(Addition) |
To add two numeric quantities. | 10+3=13 |
| –
(Subtraction) |
To subtract one numeric quantity from another. | 10-3=7 |
| *
(Multiplication) |
To multiply two numeric quantities. | 10*3=30 |
| /
(Division) |
To divide one numeric quantity by another and get quotient. | 10/3=3.3333333 |
| // (Floor Division) |
To divide one numeric quantity by another to get quotient without decimal point. | 10//3=3 |
| %
(Modulus) |
To find remainder after dividing one numeric quantity by another. | 10%3=1 |
| **
(Exponent) |
To find one number raised to power another number. | 10**3=1000
(10 raised to power 3) |
