xx = { "name": "Alice", "age": 20, "gaga": { "haha": { "xixi": 11 , "xixi2": 21 } } }
时间: 2023-09-10 14:14:31 浏览: 133
To access the value of "xixi" in the dictionary xx, you can use the following code:
```
xixi_value = xx["gaga"]["haha"]["xixi"]
print(xixi_value)
```
Output:
```
11
```
This code first accesses the "gaga" key in the xx dictionary, then the "haha" key within the value of the "gaga" key, and finally the "xixi" key within the value of the "haha" key.
阅读全文