How code makes decisions
What is logic?
==
What is equal to?
returns true if every condition is true
What is and?
Asking a question or checking a condition
What is if?
Used when we know how many times the loop will repeat
What are for loops?
Often answers questions
What is an algorithm?
!=
What is not equal to?
returns true if one condition is true
What is or?
Tells python what to do if the condition is true
What is then (:)?
Used when we don't know how many times the loop will repeat
What are while loops?
True or False
What is a boolean value?
> and <
What is greater than and less than?
Flips the boolean (true or false) value
What is not?
What is else?
Tells python to repeat a loop 3 times
What is for i in range(3)?
>= and <=
What is greater than or equal to and less than or equal to?
Tells python what to do when the total is less than 7