This lesson wraps up the course on list lomprehensions with a word of warning. Comprehensions are a powerful feature of Python but they can lead to unreadable code when overused or when poorly formatted.
You learned when not to use list comprehensions and also what strategies you can apply to help you decide when to use them.
Resources
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.
Pygator on Dec. 22, 2019
The formula for the general list comprehension with condition and expression is a helpful abstraction.