我需要检查带有列表的列表是否包含与指定列表具有相似值的列表,值的顺序可能不同,但如果所有值都相同,则应返回 true
a= ["1","2","3","4","5"]
b= ["2","3","6","4","7"]
e = (["1","3","2","4","5"],["2","3","6","4","7"])
CombinationFound = []
for i in e:
if i == a:
CombinationFound = True
break;
else:
CombinationFound = False
它应该返回 true["1","2","3","4","5"]
并且["1","3","2","4","5"]
具有相同的值