Commit adf7d0c7 by BellCodeEditor

save project

parent 1dd7b9f7
Showing with 83 additions and 0 deletions
def binary_search(num,alist)
low = 0
high = len(alist)
while low < high:
mid = (low + high) / 2
guess = alist[mid]
if guess == num:
break
elif guess<num:
low=mid+1
elif:
high=mid-1
import tkinter
root = tkinter.Tk
root.title("注册")
root.geometry("400*320")
root.mainloop()
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