摘要:
[TOC] lambda, map, filter, reduce lambda 匿名函数 map map(f, iterator) 将f作用于iterator, 返回可迭代对象. 列表生成式 [f(x) for x in iterator] filter filter(condition_f, i 阅读全文
摘要:
命名: Use snake_case for variables/functions; CamelCase for classes; CAPS_CASE for constants Ref: http://pep8online.com/ 粘贴代码看是否符合规范 阅读全文