项目开发
技术栈
大前端
代码参考
开源组件
相关函数
any 如果 iterable 的任一元素为真值则返回 True。 如果可迭代对象为空,返回 False。
dict(one=1, two=2, three=3) {'one': 1, 'two': 2, 'three': 3} dict(zip(['one', 'two', 'three'], [1, 2, 3])) dict([('two', 2), ('one', 1), ('three', 3)])