check two list python not match

Solutions on MaxInterview for check two list python not match by the best coders in the world

showing results for - "check two list python not match"
Mia
30 Feb 2016
1l1 = [10, 20, 30, 40, 50] 
2l3 = [50, 10, 30, 20, 40] 
3 
4a = set(l1)
5b = set(l3)
6 
7if a == b:
8    print("Lists l1 and l3 are equal")
9else:
10    print("Lists l1 and l3 are not equal")
11