Commit 7713dedd by BellCodeEditor

auto save

parent b74c6538
Showing with 21 additions and 0 deletions
import tkinter
root = tkinter.Tk()
root.title("注册")
root.geometry("400*302")
root.mainloop()
\ No newline at end of file
def binary_search(num,alist):
def binary_search(num,alist):
low = 0
high = len(alist)
while low < high:
mid = (low + high)/2
guess = alist[mid]
if guess == unm:
break
elif guess < num:
low = mid + 1
elif:
high = mid - 1
return None
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment