Python Tutorial - 24. Sets and Frozen Sets

preview_player
Показать описание

This tutorial will explain about “sets and frozen sets”. The major topics highlighted in this video are what is set, examples of set, operations of set, what is “frozen set”, the difference between “list and set”, what is “in operator”, what is union, intersect, suprect and subset operation of set.

Topics that are covered in this Python Video:
0:00 Introduction
0:08 Definition of Set and example of set
3:11 Set is an Unordered
3:28 List vs set basics difference
5:04 What is frozen set and its example
5:59 implement basics operation of set
6:12 "in" operator
7:06 Union, intersect, suprect and subset operation of set

Learn how to use sets and frozen sets in python. Set is basically mathematical set and could be really useful in programming. Frozen sets are same as set except you can not change them (immutable).

Next Video:

Рекомендации по теме
Комментарии
Автор

Thanks for the useful information, keep up the good work.

davidbottrill
Автор

You can also use x^y - which is all uncommon elements of x and y, i.e. {'b', 'c', 'h', ''g'}, w/o "a' element which is common to x and y.

gosha
Автор

very detailed explanations! very helpful. Only one suggestion reduce the volume of the background music.

modalivishali
Автор

Why dont copy your items into a Tuple instead of creating a frozenset?

kostasnikoloutsos
Автор

the music background destroy your video...friendly

oddnumber