From 2504bc351ef9414cea92e100566d36b161bdf4b6 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Fri, 15 Mar 2024 19:36:52 +0800 Subject: [PATCH] auto save --- my_search.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/my_search.py b/my_search.py index 6eaf4dc..de96172 100644 --- a/my_search.py +++ b/my_search.py @@ -6,4 +6,6 @@ for i in range(1, 101): num = random.choice(alist) # 请完善二分查找函数binary_search(),查找出num在列表alist里面的索引位置 -def binary_search(alist,num): \ No newline at end of file +def binary_search(alist,num): + low=0 + high= \ No newline at end of file -- libgit2 0.25.0