【发布时间】:2020-08-21 23:44:43
【问题描述】:
{ 'id1': [{'id2': [messageobject, messageobject1]}, {}], 'next_id': [{'example_key': messageobj},{'example_key2': messageobj}]
如何通过在列表 id1 中搜索键“id2”来找到列表索引 元素的索引
【问题讨论】:
标签: python python-3.x list dictionary indexing