Skip to content
On this page

zip_dict

将多个列表打包成字典。

python
from usepy import zip_dict

参数

  • *lists: 要打包的列表zip_dict

例子

python
>>> zip_dict([1, 2, 3], ['a', 'b', 'c'])
{1: 'a', 2: 'b', 3: 'c'}

Released under the MIT License.