Conditional expressions allow our code to do different things based on a prior result.
It's like the logic we use every day: "it's cold, so I'll put on a coat"; "if you're running late, text your friend"; "if you're hungry, eat something; otherwise, go outside." In programming, those are known as
We also take repetitive actions. Some of those have an
In programming, the former are mimiced with