This is what it looked like for me: I do not understand why it is not printing false
a = [1,2,3,4,5]
b= [11,6,7,8,9]
def overlapping(a,b):
bool= True
for x in range(len(a)):
for y in range(len(b)):
if b[y]==a[x]:
check("True")
break
def check(str):
if str =="True":
print "True"
else:
print "False"
overlapping(a,b)