![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python学习
LIUYABO2506664039
活到老,学到老。。。
展开
-
python实现螺旋矩阵
# 1 2 3 4# 12 13 14 5# 11 16 15 6# 10 9 8 7import numpydef get_matrix(n=4): matrix = numpy.zeros((n, n)) i = 1 k = 0 while i < n**2: for u in rang...原创 2018-03-05 22:57:23 · 1917 阅读 · 0 评论 -
linux源码安装python3.7
安装基本环境 yum更新yum update 环境安装yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel libffi-devel gcc make python-devel 下载python3.7版本源码包https://ww...原创 2019-09-27 14:26:15 · 208 阅读 · 0 评论