LOGICAL OPERATORS IN PYTHON
Python basically has 3 logical operator :-
1>'or' operator
So , if any one of the condition is true result will be true.
2>'and' operator
If any one of the conditions is false then the result is false.
3>'not' operator
It simply reverses the result that is if result is true its converted to false and vice versa.
1>'or' operator
So , if any one of the condition is true result will be true.
2>'and' operator
If any one of the conditions is false then the result is false.
3>'not' operator
It simply reverses the result that is if result is true its converted to false and vice versa.
Comments
Post a Comment