标签: python frozenset
如何遍历冻结集中的前三个元素。
frozen_set = frozenset(["e", "f", "g","h","i","j","k"]) for x in itertools.islice(frozen_set,1,3): print(x)