check two list python not match code example
Example: check two list python not match
l1 = [10, 20, 30, 40, 50]
l3 = [50, 10, 30, 20, 40]
a = set(l1)
b = set(l3)
if a == b:
print("Lists l1 and l3 are equal")
else:
print("Lists l1 and l3 are not equal")