Q 1: A program that gets the input and returns the output.
data = {
"x": {
"w": 5,
},
"x/y": {
"a": 3,
},
"x/y/z": 5,
"x/t/w/b": 6,
"x/t/w": {
"a": 7,
},
}
{
"x": {
"w": 5,
"y": {
"a": 3,
"z": 5
},
"t": {
"w": {
"a": 7
}
}
}
}
{
"a": 3,
"e/b.c/d": true,
"e/b.c/e": 1,
"b/a": {
"c": 6,
"pi": 3.14
},
"b/a/c": "value for c of a of b"
}
{
"a": 3,
"e": {
"b.c": {
"d": true,
"e": 1
}
},
"b": {
"a": {
"c": "value for c of a of b",
"pi": 3.14
}
}
}