a = {1,2,3}
b = {3,4,5}
c = a.intersection(b)
print(c) # {3}
first_set = [10, 20, 30]
second_set = [10, 20, 30]
if len(first_set) == len(second_set):
if first_set == second_set:
print("Both sets are equal")
else:
print("Both sets are not equal")
else:
print("Both sets are not equal")