摘要: 这样子,win32com.client模块就可以使用了 阅读全文
posted @ 2018-04-14 23:04 BruceLong 阅读(1839) 评论(0) 推荐(0) 编辑
摘要: import random# (0,1000)随机产生一个数key = random.randint(1,1000)# 用来统计猜的次数count = 0# 定义一个折半查找的函数def BinSearch(array, key, low, high): global count mid = int 阅读全文
posted @ 2018-04-14 20:35 BruceLong 阅读(960) 评论(0) 推荐(0) 编辑