摘要: 【原创】转载请注明作者Johnthegreat和本文链接冒泡排序在算法中算是最简单也最容易实现的,这里介绍一个非常简单实现的代码:def bubble_sort(ls): for first in range(len(ls)): for second in range(1, len(ls)): if 阅读全文
posted @ 2020-04-23 22:39 Johnthegreat 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 目前Python的模块大约有22万个,数字还在增长中,以下是30个常用Python模块,来自于不完全统计:1. os2. sys3. time4. re5. json6. random7. numpy8. logging9. collections10. argparse11. datetime12 阅读全文
posted @ 2020-04-23 21:58 Johnthegreat 阅读(299) 评论(0) 推荐(0) 编辑