Logical operators is useful in python to perform the calculation.
and | both conditions must be true |
or | Atleast one conditions must be true |
not | True must be show as false |
i have attached the video link below. which will do this tutorials step by step.