Answers for "check if 2 lists have same elements python"

0

python compare lists unordered

def compare(s, t):
    return sorted(s) == sorted(t)
Posted by: Guest on January-13-2021
-2

python same values in two lists

a = {1, 2, 3, 4}
b = {3, 4, 5, 6}

a.intersection(b)
Posted by: Guest on February-17-2021

Code answers related to "check if 2 lists have same elements python"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language