PythonSkills.org
Courses
Exercices
Challenges
Quizzes
Open console
0 points
Get started
Loading...
Learnig Path /
Python List Comprehension
Performance benefits of list comprehensions
Loading...
Python Terminal
Loading Python...
If it doesn't load, refresh the page.
Loading...
Run Code
Clear
Previous lesson:
Combining list comprehensions with Dictionaries or Sets
Next Lesson:
Readable vs. Overcomplicated
Exercices
10
Need Help? Go Back to the Lesson
Create a List of Squares
Filter Even Numbers
Convert Temperatures
Create a Nested List
Filter Words with Specific Letters
Compare Loop vs List Comprehension for Squares
Create a List of Even-Length Words
Flatten a Nested List
Generate Cubes of Odd Numbers
Filter Positive Numbers
Object-Oriented Programming
69 exercices
+
0% complete
0/100
Python Basics
167 exercices
+
Lists Comprehension
100 exercices
+