How to find out if two elements belong to the same list – stackoverflow.com

I have a few lists, each containing several cities. I need to check for any two random elements if they belong to the same list. Simple example: list1 = ['London', 'Manchester', 'Liverpool', '...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "How to find out if two elements belong to the same list – stackoverflow.com"