Are you looking for something like this?
Disclaimer -> This is pure hack, I would suggest to look for more sophisticated python module/library.
test_triangle = [[1], [2, 3], [4, 5, 6]]
test_list = (test_triangle[0][0], test_triangle[1][0])
values_and_indexes = {}
for index, value in enumerate(test_triangle):
for _i, _v in enumerate(value):
values_and_indexes[f"test_triangle[{index}][{_i}]"] = _v
print(values_and_indexes)
OUTPUT
{'test_triangle[0][0]': 1, 'test_triangle[1][0]': 2, 'test_triangle[1][1]': 3, 'test_triangle[2][0]': 4, 'test_triangle[2][1]': 5, 'test_triangle[2][2]': 6}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…