Python Developer — Hard
Key points
- Generator expressions are consumed once used
- List comprehension creates a new list
- The second print statement returns an empty list
Ready to go further?
Related questions
Python Developer — Hard
Key points
Ready to go further?
Related questions