Course contentsShow
Python
Lesson 421 of 1,28910. SetsPro lesson

Set comprehensions

`{x*2 for x in lst}` to build a set.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.