You now know how the Python or
operator works as well as how to use it for solving some common programming problems in Python. In addition, you’ve learned a little bit about Boolean logic, as well as some of its main concepts in Python.
Now that you know the basics of the Python or
operator, you’ll be able to:
- Use the Python
or
operator in Boolean and non-Boolean contexts - Solve several kind of programming problems by effectively using the Python
or
operator - Write better and more Pythonic code by taking advantage of the somewhat special features of
or
in Python - Read and better understand other people’s code when they make use of the Python
or
operator
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.
wggustafson on June 24, 2022
A+. Watch and learn from this course if you’re not totally up to speed or a bit rusty on booleans.