摘要: 缩进出现问题,运行不出来。 正确代码如下: 1 def binary_search(list, item): 2 low = 0 3 high = len(list)-1 4 5 while low <= high: 6 mid = (low + high) 7 guess = list[mid] 阅读全文
posted @ 2017-07-19 00:13 sky_lover 阅读(1055) 评论(0) 推荐(0) 编辑