In python if you are using sets data structure then remember that sets store hashable(immutable) type data only, so if you try to add list type data in sets you will get error.