English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 37m | 287 MB

In this course, instructor Mridu Bhatnagar takes you through the basics of using Python sets and frozen sets. If you’re in the early stages of your Python programming career, or if you just need a refresher, join Mridu as she discusses the basic mechanics and functions of these data structures. Mridu gives a high-level overview of sets and frozen sets and then dives into the various methods to work with them. She discusses use cases and topics like how to modify a set and use built-in functions. Mridu also provides challenge and solution videos to test your knowledge as you go along. If you’re looking to learn important aspects about sets and frozen sets in Python, without jumping into a long project-based course, Mridu’s course is for you.

## Table of Contents

**Introduction**

1 Why use sets and frozen sets

2 What you should know

**1. Introduction to Sets**

3 Introduction to sets

4 Defining a set and common pitfalls while initializing a set

5 Immutable and mutable

6 Hashable and iterable

**2. Set Operations**

7 Set membership

8 Iterating through a set

9 Set comprehension

10 Challenge Create a set

11 Solution Create a set

**3. Operators and Methods**

12 Understand set theory with an example

13 Find all the elements present in different sets

14 Find the common elements present between the sets

15 Determine the difference between two sets

16 Determine the symetric difference between two sets

17 Determine whether two sets have any common elements

18 Determine whether one set is a subset of another

19 Determine whether one set is a superset of another

**4. Modifying a Set**

20 Add an element to a set

21 Add multiple elements with the update method

22 Remove an element from a set

23 Remove an element from a set using discard

24 Using pop to remove and return an element from a set

25 Clearing all elements from a set

**5. Using Built-In Functions**

26 Find the index and value for all the items of a set

27 Using length to find the number of items in a set

28 Find the largest element in the set

29 Find the smallest element in the set

30 Sort all the elements in the set

31 Find the sum of all elements in a set

**6. Frozen Sets**

32 Introduction to frozen sets

33 Why frozen sets

34 Creating frozen sets

**Conclusion**

35 Keep practicing

Resolve the captcha to access the links!