Comprehensions in Python

Purchase a Subscription!

Watch the first few minutes on us! If you'd like to watch the entire video and hundreds more like it, download code samples, access offline videos and skills assessments, and use the discussion forums, log in or purchase a subscription.



Comments

You must log in to view comments.

Instructor

Eric Greene

Description

Comprehensions are a powerful and expressive means for concisely creating lists, dictionaries, and sets. Comprehensions can simplify your code and make it more maintainable by replacing multiline looping structures and nested calls to functions such as map and filter. Learn why comprehensions are critical to writing modern Python code, and make them part of your Python skill set.

Table of Contents

{{toc.Position}} {{toc.Text}}

Related Links

  • {{link.LinkText}} (requires a paid subscription)

Series

This course is part of the following series: