Issue in iterating over Python dictionaries with lists and sub-dictionaries
I have a data structure I have read from a file which looks like below – data = {"test":[‘[{"Day":"Monday","Device":"Android","Data":[1, 2, 3]}, {"Day":"Tuesday","Device":"Iphone","Data":[10, 20, 30]}]’]} I am trying to access the elements of the structure like below, peeling off one by one – value = data["test"] print(value) #[‘[{"Day":"Monday","Device":"Android","Data":[1, 2, 3]}, {"Day":"Tuesday","Device":"Iphone","Data":[10, 20, 30]}]’] value1 = value[0]… Read More Issue in iterating over Python dictionaries with lists and sub-dictionaries