![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
PoorYoung
这个作者很懒,什么都没留下…
展开
-
python 进阶
Python 进阶 PEP8 编码规范, 及开发中的一些惯例和建议 练习: 规范化这段代码 from django.conf import settings from user.models import * import sys, os mod=0xffffffff def foo ( a , b = 123 ): c={ ‘x’ : 111 , ‘y’ : 222 }#定义一个字典 d...翻译 2018-12-29 19:21:20 · 186 阅读 · 0 评论 -
不用numpy,实现矩阵连乘
a = np.array([[1,2,3],[4,5,6],[7,8,9]]) b = np.array([[1,4,7],[2,5,8],[3,6,9]]) # 创建一个以a的行为行,b的列为列的矩阵 num_add = np.zeros((a.shape[0],b.shape[1])) for i in range(a.shape[0]): for j in range(b.shape...原创 2019-01-17 18:00:31 · 2135 阅读 · 1 评论