Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 14040

check if a list value present in another list python

$
0
0
list1 = ["not appropriate"]list2 = ["Value1","Value2","Value3"]

I want to check the value from list1 and any of the three values in list2 is present in a separate 3rd list, in such a way that value from list1 needs to be mandatorily present in the search.


Viewing all articles
Browse latest Browse all 14040

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>