Python track
Exercise 8 of 8
List Comprehensions
advanced +40 XP
- 1The starter has the numbers 1 through 6.
- 2Build a new list of the squares of only the even numbers, using a list comprehension.
- 3Print the new list; it should be [4, 16, 36].
0/8

