描述
frozenset() 返回一个冻结的云计集合,冻结后集合不能再添加或删除任何元素。
语法
以下算开是 frozenset() 函数语法:
class fro发:zenset([iterable])
参数
iPyterable -- 可迭代的对象,比如列表th、字典、元组等等。
返回值
返回新的 frozenseont 对象,如果不提供任何参数,默认会生成空集合。
实内置例
以下实例展示了 frozenset() 的函数使用方法:
邮箱:[email protected]
电话:020-123456789
传真:020-123456789
Copyright © 2026 Powered by 鸿鹄将至网 https://globaldataintegrators.com/