filmov
tv
Python | Dictionary Nesting | List in Dictionary

Показать описание
#python #dictionary #loops #forloops #keyvalue #kvpairs #programming #pythonloop #data #keys #values #set #variables #itemsmethod #dictionarylooping #pythondictionary #storeinformation #pythondata #pythonkeys #pythonvalues #pythonpairs #pythonprogramming #keysmethod #sortedmethod #loopingviakeys #dictionarykeys #dictionarynesting #dictionaryinsidelist
* Hello everyone, welcome back, in this video, I am explaining python list inside a dictionary (II. List in a Dictionary) !
* Nesting is a powerful feature in all programming language (not only in Python). Sometimes we want to store multiple dictionaries in a list or list of items as a value in a dictionary in following ways.
I. Dictionaries inside a List (D inside L) – make a list of dictionaries (dict_1, dict_2, dict_3 etc.) in which each list is a dictionary, List_L = [dict_1, dict_2, dict_3]
II. List of items inside a Dictionary (L inside D) – put a list (list_1, list_2, list_3) inside a dictionary as Dict_D1 = { [list_1], [list_2], [list_3] }
III. Dictionary inside another Dictionary (D inside D)
* Video recorded on: Zoom, Video edited on: iMovie version 10.3.5 (at iMac)
* Please like, share, & subscribe if the video was helpful !
* Hello everyone, welcome back, in this video, I am explaining python list inside a dictionary (II. List in a Dictionary) !
* Nesting is a powerful feature in all programming language (not only in Python). Sometimes we want to store multiple dictionaries in a list or list of items as a value in a dictionary in following ways.
I. Dictionaries inside a List (D inside L) – make a list of dictionaries (dict_1, dict_2, dict_3 etc.) in which each list is a dictionary, List_L = [dict_1, dict_2, dict_3]
II. List of items inside a Dictionary (L inside D) – put a list (list_1, list_2, list_3) inside a dictionary as Dict_D1 = { [list_1], [list_2], [list_3] }
III. Dictionary inside another Dictionary (D inside D)
* Video recorded on: Zoom, Video edited on: iMovie version 10.3.5 (at iMac)
* Please like, share, & subscribe if the video was helpful !