Operators
|
Operations
|
+
|
Used for addition
|
-
|
Used for subtraction
|
*
|
Used for multiplication
|
/
|
Used for division
|
^ or **
|
Used for power
|
Mod (modulus )
|
Used for remainder
|
Operators
|
Operations
|
<
|
Used for less than comparison
|
>
|
Used for greater than comparison
|
=
|
Used for equality comparison
|
= > or > =
|
Used for greater than or equality comparison
|
< = or < =
|
Used for less than or equality comparison
|
< > or > <
|
Used for no equality comparison
|
AND :- In this operator, if all condition are true then resultant become true otherwise false.
Condition 1
|
Condition 2
|
Resultant
|
True
|
True
|
True
|
True
|
False
|
False
|
False
|
True
|
False
|
False
|
False
|
False
|
OR :- In this operator, if all condition are false then resultant become false otherwise true.
Condition 1
|
Condition 2
|
Resultant
|
True
|
True
|
True
|
True
|
False
|
True
|
False
|
True
|
True
|
False
|
False
|
False
|
NOT :- In this operation, if condition is true then it gives false and if result of condition is false then it gives true.
Condition
|
Resultant
|
True
|
False
|
False
|
True
|
0 Comments
Thank You ! For your love