a = {'marc', 'pierre', 12, (1, 2, 3)} b = set(['pierre', 12, (1, 2, 3), 'marc']) a==b # Résultat : True