Python: Set & Dictionary

Publié le: 15 juillet 2018
sur la chaîne: 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...


Sur cette page du site, vous pouvez voir la vidéo en ligne Python: Set & Dictionary durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Deep Hobbying 15 juillet 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 172 fois et il a aimé 6 téléspectateurs. Bon visionnage!