我想知道列表“b”中最大元素的索引,考虑到列表“a”显示列表“b”的可用索引。例如:
a = [1,3,4] b = [20,15,13,60,50,40]
因此,考虑 (15, 60, 50) 中的最大值,结果必须是 3(列表 b 中元素 60 的索引)。
python
python ×1