摘要: 1. 搜索 (1)顺序搜索 def search(num_list, val): if num_list == None: return -1 for i in range(0, len(num_list)): if (num_list[i] == val): return i return -1 阅读全文
posted @ 2020-12-21 20:50 RamboBai 阅读(51) 评论(0) 推荐(0) 编辑