Introduction To Python Sets || Python Sets || Python Data Structures - Part 13

Published: 06 February 2023
on channel: Programming In Python
18
1

Python Data Structures - Python Sets - Introduction To Sets.

#pythonSet #pythondatatypes #datastructures

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
DataCamp premium Subscription at $49/year.
https://datacamp.pxf.io/oeAYeb
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

A basic introduction to Set in Python is covered in this video.
1) Syntax of a Set
2) What elements can be in a SET
3) Print a SET

Key Points on Set:
-- A set is an unordered collection of items.
-- Every set element is unique.
-- We can define a set with opening and closing curly braces.
Ex: my_set = {1, 2, “3”}
-- No duplicate items in a set.
-- Items in set are immutable but sets itself are mutable.
-- We can add or remove elements to a set but cannot modify items in it.
-- Normal mathematical operations like union, intersection, difference can be performed.


More Programs on Python Sets:
   • Set - Data Structures in Python  


Python Pattern Programming - Letter Patterns from A to Z:    • Letter Patterns  


Website: http://programminginpython.com
Facebook:   / programminginpython  
Google +: https://plus.google.com/+Programmingi...
GitHub: https://github.com/avinashn/programmi...
Medium:   / programminginpython  
Twitter:   / python_pip  

~-~~-~~~-~~-~
Please watch my Latest Tutorial: "Merge Sort Algorithm in Python || Sorting Algorithms || programminginpython.com"
   • Merge Sort Algorithm in Python || Sor...  
~-~~-~~~-~~-~


On this page of the site you can watch the video online Introduction To Python Sets || Python Sets || Python Data Structures - Part 13 with a duration of hours minute second in good quality, which was uploaded by the user Programming In Python 06 February 2023, share the link with friends and acquaintances, this video has already been watched 18 times on youtube and it was liked by 1 viewers. Enjoy your viewing!