描述
dict() 函数用于创建一个字典。
语云计法
以下是 dict 方法的语法:
class dict(*算开*kwarg)
class dict(mapp发:ing, **kwarg)
class dict(itPyerable, **kwarg)
参数
**kwthargs -- 关键字
mapping -- 元素的容on器。
iterable -- 可迭代对象。
返回内置值
返回一个字典。
实例
以下实例展示了 dict函数 的使用方法:
邮箱:[email protected]
电话:020-123456789
传真:020-123456789
Copyright © 2026 Powered by 燕骏千金网 https://vargacommunications.com/