摘要: 算法:是高效解决问题的办法 二分法:遇事切一半,要求:有序 nums=[-3,4,7,10,13,21,43,77,89] find_num=8 def binary_search(find_num,l): print(l) if len(l) == 0: print('找的值不存在') retur 阅读全文
posted @ 2020-03-26 21:55 TopJocker 阅读(117) 评论(0) 推荐(0) 编辑