Congratulations! You now know how If-statements work in Python!
Let's do a quick recap of what we learned!
Conditional operators are used to compare values and always returns a Boolean (True or False).
The conditional operators we learned about are ++, >, and <.
Logical operators are used to make a decision based on multiple Booleans.
The logical operators we learned about are AND, OR, and NOT.
Conditional and logical operators can be used with If-statements to control how a program executes.
In the next book, we'll learn how you can further control how a program executes by using loops!