Python language provides operator types
- Athematic Operators
Operator | Title | Description | Example |
---|---|---|---|
+ | Addition | addition of two or more operands | p+q=50 |
- | Subtraction | subtraction of two or more operands | q-p=10 |
* | Multiplication | multiplication of two or more operands | p*q=600 |
/ | Divide | results quotient after the division of values | q/p=1.5 |
% | Integer Division | Return the remainder after the division of values | q div p=5 |
** | Exponentation | Return the remainder after the division of values | q mod p=10 |
== | Assignment | Assign |