Python: Set & Dictionary

Pubblicato il: 15 luglio 2018
sul canale di: Deep Hobbying
172
6

There are six different data types exists in python. you can find the YouTube link below, where we have discussed about Number & String data type.

   • Python Number, String & Variable  

you can also find the link to the YouTube video where we have discussed about Tuple & Tuple.

   • Python Tuple & List  

Please watch this tutorial first (if you have not watched it yet).

Set & Dictionary:

A Set is an unordered collection data type that is iterable, mutable, and has no duplicate elements. The major advantage of using a set, as opposed to a list, is that it has a highly optimized method for checking whether a specific element is contained in the set.

In Dictionary, each key is separated from its value by a colon (:), the items are separated by commas, and the whole thing is enclosed in curly braces. Keys are unique within a dictionary while values may not be. The values of a dictionary can be of any type, but the keys must be of an immutable data type such as strings, numbers, or tuples.

You could find this tutorial’s presentation & code in the below mentioned path:

https://github.com/DeepHobbying/Basic...

https://github.com/DeepHobbying/Basic...


In questa pagina del sito puoi guardare il video online Python: Set & Dictionary della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Deep Hobbying 15 luglio 2018, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 172 volte e gli è piaciuto 6 spettatori. Buona visione!