first_step = [1, 20, 45, 3.141552, 78,0]
second_step = [69, 6, 8, 3.141552, 0,12]
def finder(f, s):
result = False
for x in f:
for i in s:
if x == i:
result = True
return result
print('yea')
finder(first_step, second_step)
def common_data(list1, list2):
result = False
for x in list1:
for y in list2:
if x == y:
result = True
return result
print(common_data([1,2,3,4,5], [5,6,7,8,9]))
print(common_data([1,2,3,4,5], [6,7,8,9]))