摘要: 方法1:def bubbleSort(arr):#定义函数 qiu = len(arr) # 遍历所有数组元素 for i in range(qiu): # 最后一个元素已经存在,所以qiu-i-1 for j in range(0, qiu - i - 1) if arr[j] > arr[j + 阅读全文
posted @ 2020-09-17 14:32 jasonchenYT 阅读(1071) 评论(0) 推荐(0) 编辑
摘要: 默认的pip镜像文件为国外的,下载经常提示超时,建议跟换为国内的镜像,清华、豆瓣和阿里等都不错的。 Windows:在user下新建文件夹【pip】,在该文件夹下新建文件名为【pip.ini】 Linux:.pip/pip.conf 文件输入以下内容: [global] trusted-host = 阅读全文
posted @ 2020-05-19 17:39 jasonchenYT 阅读(288) 评论(2) 推荐(0) 编辑