DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+4 =
Submit