reading-notes

Reading 05 Summary

Comparison operators:

Logical operators:

imageee

short circuit evaluation: Logical expressions are evaluated left to right . If the first condition can provide enough information to get the answer, then there is no need to evaluate the second condition.

Loops :

Loops check a condition .if it returns true, a code block will run. Then the condition will be checked again and if it still returns true,the code block will run again . It repeats until the condition returns false.