Commit 7bfa0097 by BellCodeEditor

auto save

parent 8ea552f9
Showing with 23 additions and 1 deletions
...@@ -4,7 +4,7 @@ alist = [] ...@@ -4,7 +4,7 @@ alist = []
for i in range(1, 101): for i in range(1, 101):
alist.append(i) alist.append(i)
num = random.choice(alist) num = random.choice(alist)
# 请完善二分查找函数binary_search(),查找出num在列表alist里面的索引位置szszszszszszszszszss唐老师 # 请完善二分查找函数binary_search(),查找出num在列表alist里面的索引位367458649776 3
def binary_search(alist,num): def binary_search(alist,num):
step = 0 # 记录查找次数 step = 0 # 记录查找次数
......
import turtle
turtle.fillcolor('black')
turtle.begin_fill()
turtle.forward(180)
turtle.left(90)
turtle.forward(180)
turtle.goto(0,0)
turtle.end_fill()
turtle.fillcolor('pink')
turtle.begin_fill()
turtle.forward(180)
turtle.right(90)
turtle.forward(180)
turtle.end_fill()
turtle.mainloop()
\ No newline at end of file
input ('请输入一个三位数:')
s=('int'/60/60)
print(s)
\ No newline at end of file
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