Answers for "compare two lists with different lenghts python"

0

how to compare two lists element by element in python and return matched element

>>> [i for i, j in zip(a, b) if i == j]
[5]
Posted by: Guest on July-05-2020

Code answers related to "compare two lists with different lenghts python"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language