Python supports the usual logical conditions from mathematics: IF WE USE if THEN PYTHON IT CHECKS ALL THE LINE LINE BY LINE ALSO AFTER THE CONDITION GET SATISFIED ...
"An else statement can be combined with an if statement. An else statement contains the block of code that executes if the conditional expression in the if statement resolves to 0 or a FALSE value.\n" ...