摘要: python内置函数-排列组合函数 https://www.cnblogs.com/aiguiling/p/8594023.html python自带的排列组合函数 http://www.cnblogs.com/x931890193/p/9402136.html 阅读全文
posted @ 2018-12-02 23:39 什么时候能年薪百万 阅读(172) 评论(0) 推荐(0) 编辑
摘要: list的reverse方法,是就地reverse,不返回值 如a是一个list,a.reverse()直接将a这个list给reverse了,所以如果print(a.reverse())就是None,直接print(a)即可 而list函数是新生成一个list,即返回一个list 阅读全文
posted @ 2018-11-21 20:39 什么时候能年薪百万 阅读(1200) 评论(0) 推荐(0) 编辑
摘要: pyhton的datetime模块分析(小女子的测试之路):https://www.cnblogs.com/cindy-cindy/p/6720196.html python时间模块小结(time and datetime):https://www.cnblogs.com/sunshineyang/ 阅读全文
posted @ 2018-11-21 01:53 什么时候能年薪百万 阅读(122) 评论(0) 推荐(0) 编辑
摘要: Python中的random模块: https://www.cnblogs.com/liangmingshen/p/8909376.html 阅读全文
posted @ 2018-11-20 22:22 什么时候能年薪百万 阅读(107) 评论(0) 推荐(0) 编辑
摘要: pass语句: https://www.runoob.com/python/python-pass-statement.html 阅读全文
posted @ 2018-11-20 22:18 什么时候能年薪百万 阅读(100) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq351469076/article/details/78817378 机器学习三剑客之Numpy: https://www.jianshu.com/p/83c8ef18a1e8 Numpy np.array 相关常用操作学习笔记: https://ww 阅读全文
posted @ 2018-11-13 19:34 什么时候能年薪百万 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 方法1 直接定义 matrix = [ [0, 0, 0], [0, 0, 0], [0, 0, 0] ] 方法2 间接定义 matrix = [ [ 0 for i in range(3) ] for i in range(3) ] 阅读全文
posted @ 2018-11-12 04:27 什么时候能年薪百万 阅读(120) 评论(0) 推荐(0) 编辑
摘要: @wrapper def add(a, b): return Coordinate(a.x + b.x, a.y + b.y 等同于: add = wrapper(add) 资料:12步轻松搞定python装饰器 http://python.jobbole.com/81683/ 阅读全文
posted @ 2018-11-11 05:59 什么时候能年薪百万 阅读(127) 评论(0) 推荐(0) 编辑