🌈 搜索
📅  最后修改于: 2022-03-11 14:45:16.610000             🧑  作者: Mango
a_set = {"a", "b", 1, 2} data = itertools.combinations(a_set, 2) subsets = set(data) print (subsets)