COMMON PYTHON OPERATORS
Python contains various operators that can be used for Math, Assignment, Comparisons and more.
Mathematical Operators
+ Addition a+b
- Subtraction a-b
* Multiplication a*b
/ Division a/b
% Modulus a%b
** Exponent a**b
Assignment Operators
= A = 5
+= A += 1
-= A -= 1
*= A *= 2
Comparison Operators
== Equal A == B
!= Not Equal A != B
> Greater than A > B
< Less than A < B
>= Great than equal to A >= B
<= Less than equal to A <= B