site = [{ "route": "172.18.81.0/24", "msg": "彩云服务部_CTCE2H002230500031" }, { "route": "172.18.87.0/24", "msg": "平昌服务部_CTCE2H002230500022" }, { "route": "172.23.6.0/24", "msg": "龙山服务部_CTCE2H002230500026" }, { "route": "172.23.11.0/24", "msg": "通城服务部_CTCE2H002230500027" }] 打印通城服务部_CTCE2H002230500027
时间: 2023-07-17 09:10:00 浏览: 87
chromedriver_for_chrome_81.0.4044.138.zip
您可以使用以下代码来打印出 "通城服务部_CTCE2H002230500027":
```python
site = [
{
"route": "172.18.81.0/24",
"msg": "彩云服务部_CTCE2H002230500031"
},
{
"route": "172.18.87.0/24",
"msg": "平昌服务部_CTCE2H002230500022"
},
{
"route": "172.23.6.0/24",
"msg": "龙山服务部_CTCE2H002230500026"
},
{
"route": "172.23.11.0/24",
"msg": "通城服务部_CTCE2H002230500027"
}
]
print(site[3]["msg"])
```
运行以上代码,将会打印出:
```
通城服务部_CTCE2H002230500027
```
阅读全文