Amazon interview question

It was related to sets in python