How would I create a list of numbers that are the square root of 0 through 9? →
How would I create a list of numbers that are the square root of 0 through 9, but only include squares that are divisible by 2? →
List comprehensions are another, more concise way of creating lists. A list comprehension is syntactic sugar (syntax within a programming language that is designed to make things easier to read or to express) for the code that we created previously.
List comprehensions make new lists
Write a list comprehension that creates a new list by adding exclamation points to every element in an existing list. →
Limit the previous list to strings of length 3. →