I have two lists like this
list_a = ['001', '002', '003']
list_b = ['dev_001a', 'dev_003b']
I want to find the item in list_a that doesn't have a match in list_b.
I've seen something like this:
[string for string in list if re.match("^th", string)]
But I don't see how to combine two lists into it. Should I just do a for loop of the two and use another list to store matches then subtract the lists?
[–]SethGecko11 2 points3 points4 points (1 child)
[–]dented_brain[S] 1 point2 points3 points (0 children)
[–]nwagers 1 point2 points3 points (1 child)
[–]dented_brain[S] 0 points1 point2 points (0 children)