📜  python 设置匹配两个列表 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:08.288000             🧑  作者: Mango

代码示例1
lang1 = ['Python', 'C++', 'C']
lang2 = ['C++', 'C', 'Python']

set(lang1) == set(lang2) #true