summaryrefslogtreecommitdiff
path: root/progs/a505.py
blob: 60cf63e0ef8f390585f0aef614e1f51a77ac8847 (plain)
1
2
3
def count_samepair(list1,list2,list3):
    result = sum(m == n == o for m, n, o in zip(list1,list2,list3))
    return result