Python List Comprehension Exercises
Let’s check out some exercises that will help understand List Comprehension better.
Exercise 16-a
Create an identical list from the first list using list comprehension.
Exercise 16-b
Create a list from the elements of a range from 1200 to 2000 with steps of 130, using list comprehension.
Exercise 16-c
Use list comprehension to contruct a new list but add 6 to each item.