I have the list like
l = ['dd','rr','abcde']
l2 = ['ddf','fdfd','123']
I want one function which return true if any of the value from l
exist in l2
.
Now that can be partial matching as well. i mean that string should present in l2
EDIT:
The output should be either true of false
Like in my example it should return true because dd
is matching with ddf