JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Python Fundamentals and Analytics
Python Fundamentals and Analytics
More
Share
Explore
Chapter -6 : List comprehension
List comprehension offers a shorter syntax when required to create a new list based on the values of an existing list.
Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
Ctrl
P
) instead.