SET - Data Structures in Python

Published: 20 April 2020
on channel: Tronix Technologies
127
1

SET - Data Structures in Python by Kusu Srinivasa Rao from Tronix Technologies
What is set?
set:
1. A collection of values, each value separated by commas
and enclosed by curly braces. It is called a set.
2. sets are created by using the set()
3. insertions order is not preserved.
i.e set is a unordered list.
4. insertions are allowed.
5. deletions are allowed.
6. set supports heterogeneous elements.
i.e. to store different data type elements.
7. duplicate elements are not allowed.
8. set is mutable.
9. sets does not support indexing and slicing.
10. set operations set union, set intersection,
set difference, set symmetric difference,....etc.
11. The declaration syntax of creating a set:
setname={value-1,value-2,value-3.....value-n

from Tronix Technologies by Kusu Srinivas Rao.
Visit us @www.tronixtechs.com


On this page of the site you can watch the video online SET - Data Structures in Python with a duration of hours minute second in good quality, which was uploaded by the user Tronix Technologies 20 April 2020, share the link with friends and acquaintances, this video has already been watched 127 times on youtube and it was liked by 1 viewers. Enjoy your viewing!