summaryrefslogtreecommitdiff
path: root/progs/a777.py
blob: 290a05f5f66693329791037b47a105c6f3ad27bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
def overlapping(list1,list2):  
    c=0
    d=0
    for i in list1: 
        c+=1
    for i in list2: 
        d+=1
    for i in range(0,c): 
        for j in range(0,d): 
            if(list1[i]==list2[j]): 
                return 1
    return 0