Is there something wrong with the way I am using sets in python

welcome to shbcf.ru