just a stupid question out of curiosity.
Lets say there's a list with elements as
fruits_lst = ['apples','oranges','bananas','guavas']
Now is it possible to create separate separate dictionaries but with the names as the names of elements in the list?
desired result:
apples=dict()
oranges=dict()
bananas=dict()
guavas=dict()
I know one could easily do it by looking at the names of the elements, but what i want to achieve is somehow the program picks up the element names while iterating through it and then creates empty dictionaries with the same names. Is it possible? Kindly guide me through..