SET - Data Structures in Python

Pubblicato il: 20 aprile 2020
sul canale di: 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


In questa pagina del sito puoi guardare il video online SET - Data Structures in Python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Tronix Technologies 20 aprile 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 127 volte e gli è piaciuto 1 spettatori. Buona visione!