Answers for "match two list in python"

0

python set match two list

lang1 = ['Python', 'C++', 'C']
lang2 = ['C++', 'C', 'Python']

set(lang1) == set(lang2) #true
Posted by: Guest on May-25-2021

Code answers related to "match two list in python"

Python Answers by Framework

Browse Popular Code Answers by Language