I'm new to code So this is the code i'm trying to work on:
a = [1, 2, 3, 4]
b = [2, 3, 4, 6, 8]
c = [3, 4, 5]
l = [a, b, c]
l
d = [1,4,2]
def f(l,d):
l = set(l)
d = set(d)
return l.Intersect(d).count()
f(l,d)
gives me TypeError: unhashable type: 'list'