I have a nested dictionary in this format
{'U_1003076': {'C_course-v1:TsinghuaX+34100325_X+sp': {'label': 1}, 'C_course-v1:TsinghuaX+30240243X+sp': {'label': 1}}, 'U_1019796': {'C_course-v1:TsinghuaX+30240184+sp': {'label': 1}}
How do I change it to this
{'U_1003076': {'C_course-v1:TsinghuaX+34100325_X+sp': 1}, 'C_course-v1:TsinghuaX+30240243X+sp': 1}, 'U_1019796': {'C_course-v1:TsinghuaX+30240184+sp': 1}
question from:https://stackoverflow.com/questions/65641174/changing-the-value-of-a-nested-dictionary-key