for example:
list1 structure: name, ID, color, quantity, type
list1 = [["axiangliao 1, 255, 100, 03], [" a, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4,
list2 structure: name, type, list2
color
how do I find all the elements in list1 that match those in list2?
results
list = [["axiaozhengliao 1, 255, 100, 03"], [" axiong, 2, 481, 50, 50, 06], ["axiong, 47, 255, 500, 03"]
can only for compare one by one? Is there a simple method