Using Sets in Python
In this course, you’ll learn aboutsets. They’re a useful data structure that allows you to do some complex operations more easily. They come up everywhere in the real world and are important to understand.
By the end of this course, you’ll know:
- What a set is
- How to define a set in Python
- How to operate on a set
- How to modify a set
- When to use sets
- Why sets are a good choice for checking membership
What’s Included:
- 16 Lessons
- Video Subtitles and Full Transcripts
- 2 Downloadable Resources
- Accompanying Text-Based Tutorial
- Interactive Quiz to Check Your Progress
- Q&A With Python Experts: Ask a Question
- Certificate of Completion
Downloadable Resources:
Related Learning Paths:
Sets in Python
16 Lessons 56m
- 1. Sets in Python (Overview)01:16
- 2. What Is a Set?00:58
- 3. Immutable vs. Hashable03:14
- 4. Defining a Set in Python02:11
- 5. Length, Membership, and Iteration03:07
- 6. Union, Intersection, and Difference06:49
- 7. Disjoint, Subset, and Superset05:37
- 8. Add, Remove, Discard, Pop, and Clear02:44
- 9. Different Update Methods05:56
- 10. Augmented Assignment (Sets)01:32
- 11. Frozen Sets02:49
- 12. Augmented Assignment (Frozen Sets)01:28
- 13. Why Sets?00:55
- 14. Set Speed Test05:54
- 15. Sets in Python (Quiz)08:30
- 16. Sets in Python (Summary)03:11
AboutJames Uejio
James is an avid Pythonista and creates video tutorials for Real Python. He is a web developer at Wish and also produces lo-fi hip hop and plays jazz guitar.
» More about JamesParticipant Comments
Thakur
Excellent course James. Loved it.
Ghani
Excellent course. Thank you!
Levi
Other tutorials I’ve watched on lists/sets never mentioned anything about hashes. Thanks for covering them!
Thomas
Very enlightening, thank you.














