Has there been any talk about adding a comprehension concept to the Python track? I could easily see a few good exercises covering:
- Basic list/set comprehension
- Advanced (if, zip, sum, etc.)
- Dict/tuple comprehension
- Nested (inc. when not to use them)
Since this feature seems to be such a talking point about python (for better or worse), it seems natural to include it. I think it would help students understand the basics of the various types as well as when and where to (or not to) use them.
Just a thought. I didn’t seen any other conversations related to adding this to the track.