1
614views
Explain the arithmetic and logical operators in python.
1 Answer
| written 3.6 years ago by |
Arithmetic Operators in Python :-
| Operator | Name | Example |
|---|---|---|
| + | Addition | a + b |
| - | Subtraction | a - b |
| * | Multiplication | a * b |
| / | Division | a / b |
| % | Modulus | a % b |
| ** | Exponentiation | a ** b |
| // | Floor Division | a // b |
Logical Operators in Python :-
| Operator … |
|---|