Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python set match two list

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

set(lang1) == set(lang2) #true
 
PREVIOUS NEXT
Tagged: #python #set #match #list
ADD COMMENT
Topic
Name
3+4 =