I have looked through few questions regarding nested dictionary such as link_a, link_b, and link_c. But i cant seem to find the solution (or i couldnt figure it out).
So i already have a dictionary which is in this format:{'key_01': ['value1', 'value2'], key_02: ....} which goes until key_08 where certain keys have different amount of 'value' in them.
For each value1 and value2 has 2 more additional values which are x and y in which i will obtain once i run my program.
So the final output that i want it as below:
{'key_01': 
   ['value1' : 
     ['x': 2], 
     ['y': 3]], 
   ['value2': 
     ['x': 2], 
     ['y': 3]], ....}
This is one of the method i tried by using this tutorial for adding into dictionary:
x = 5
for i in range(len(demo_dict['key_01'])):
    for val in demo_dict['key_01']:
        demo_dict['key_01'][0] = x
But it changed the value1 to 5 which is not what i want. And i know i cannot use append. Now im stuck.
 
     
    