【发布时间】:2021-04-09 20:58:21
【问题描述】:
我有一个字典列表
[{"id":1, "name": "jane", "contact": {"email": "jane@gmail.com", "phone": "8179482938"}},
{"id":2, "name": "john", "contact": {"email": "john@gmail.com", "phone": "8179482937"}},
{"id":3, "name": "june", "contact": {"email": "june@gmail.com", "phone": "8179482936"}}]
我怎样才能找到简的索引只给她的电话号码(8179482938)?
【问题讨论】:
标签: python list dictionary indexing