summaryrefslogtreecommitdiff
path: root/progs/a153.py
blob: 08d190c402f4f993b45a55c3f085cf6f46250e25 (plain)
1
2
3
4
5
6
def extract_index_list(l1, l2, l3):
    result = []
    for m, n, o in zip(l1, l2, l3):
        if (m == n == o):
            result.append(m)
    return result