Operators in Python
June 22, 2021
Python
In this lesson we will learn:
Arithmetic Operators:
-
- Addition (+)
- Subtraction (-)
- Multiplication (*) Division (/)
- Floor division (//)
- Modulus (%) and exponent (**)
Assignment Operators : +=, -= and *=.
Comparison Operators:
-
- Equal (==)
- Not equal (!=)
- Greater than,(>)
- Less than (<)
- Greater than or equal to (>=)
- Less than or equal to (<=)
Logical Operators:
-
- and
- or
- not