From adf7d0c73bb105193104dc2eae548895a25407d8 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 8 Mar 2025 10:57:02 +0800 Subject: [PATCH] save project --- fjgj.py | 38 ++++++++++++++++++++++++++++++++++++++ ihkhk.py | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 fjgj.py create mode 100644 ihkhk.py diff --git a/fjgj.py b/fjgj.py new file mode 100644 index 0000000..dee3d66 --- /dev/null +++ b/fjgj.py @@ -0,0 +1,38 @@ +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 + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ihkhk.py b/ihkhk.py new file mode 100644 index 0000000..1c69411 --- /dev/null +++ b/ihkhk.py @@ -0,0 +1,45 @@ +import tkinter +root = tkinter.Tk +root.title("注册") +root.geometry("400*320") + + + +root.mainloop() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- libgit2 0.25.0