Answers for "check two list python not match"

0

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")
Posted by: Guest on October-08-2020

Code answers related to "check two list python not match"

Python Answers by Framework

Browse Popular Code Answers by Language