In this series, we will go over my notes for Python. And in this video, we are going to cover sets. We will see how they are created, what they are typically used for and what methods are available.
Links:
GitHub Repo: https://github.com/SebastianMantey/Python-Tutorial
Full Playlist: https://www.youtube.com/playlist?list=PLPOTBrypY74yHNvmKlf9bfYuwMlbiPk94
Mutability: https://youtu.be/NlC3j0jZXQQ
Timestamps:
0:00 - Intro
0:06 - Definition
1:30 - Characteristics of sets
5:24 - Typical use cases
6:28 - Methods
6:38 - add
7:27 - remove, discard
8:47 - pop
11:06 - clear
11:34 - copy
13:08 - intersection, intersection_update
14:57 - union, update
16:08 - difference, difference_update
17:28 - symmetric_difference, symmetric_difference_update
18:51 - issubset, issuperset
20:39 - isdisjoint
Download
0 formats
No download links available.
Python Tutorial for Beginners p.12: Sets - Notation, Typical Use Cases and Methods | NatokHD