摘要: all() any() filter() map() pow() zip() bit_length() bisect.bisect_left() itertools.chain() itertools.from_iterable() itertools.combinations() itertool 阅读全文
posted @ 2019-08-19 00:11 Rocin 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 说明 看文档发现一个有趣的应用(利用zip函数) 例如[1, 2, 3, 4] [(1, 2), (3, 4)],拆分成长度为2的数据块 Code 原理: zip( iterables) https://docs.python.org/3/library/functions.html zip 阅读全文
posted @ 2019-08-19 00:03 Rocin 阅读(234) 评论(0) 推荐(0) 编辑