Operators
Operators
Operator Name
+ Addition
- Subtraction
* Multiplication
/ Division
% Modulus
** Exponentiation
// Floor division
= a=3 a=3
+= a += 3 a=a+3
-= a -= 3 a=a-3
*= a *= 3 a=a*3
/= a /= 3 a=a/3
== Equal x == y
!= Not equal x != y
and Returns True if both statements are true x < 5 and x < 10
not Reverse the result, returns False if the result is true not(x < 5 and x < 10)