Tutorial 14 - What are Dictionaries in Python?

preview_player
Показать описание
Dictionaries are similar to lists, an arrangement of objects. A list is a collection single objects and a dictionary is a collection of object pairs - key and value. For example a list of fruits vs a dictionary of fruits and corresponding colors.
List = ['Apple', 'Banana', 'Orange', 'Pear']
Dictionary = {'Apple':'Red', 'Banana':'Yellow', 'Orange':'Orange', 'Pear':'Green'}

This video tutorial further explains the concept of dictionaries, how to create and edit them.

Рекомендации по теме
Комментарии
Автор

Great tutorial so far, thanks you for making some details more clear.

Mr_MRK
Автор

Great tutorial for the understanding the difference between List Tuples, and dictonaries. ధన్యవాదాలు

tilkesh
Автор

Thanks for this tut. My question is how to slice/index in dict?

mohamedelforjani
visit shbcf.ru