Set in the python
![](https://www.mikkipastel.com/content/images/2020/02/1_2NG325dqTJHWHXUF05K2pw-1.jpeg)
Hello everyone, I have problem about compare 2 list and found solution to solve this with set.
Introduction
union for find all content in list a and b -> set(a) | set(b)
intersection for find same content in list a and b -> set(a) & set(b)
complement for find all content in a but not in b -> set(a) — set(b)
subset for find all content from a in b -> set(a).issubset(set(b))
then should be convert list to set :)