08 2021 档案
摘要:def func(list1): list2 =[] for i in range(len(list1)): sum = 1 for j in list1: sum*=j sum = sum//list1[i] list2.append(sum) print(max(list2)) value=[4
阅读全文
摘要:支付功能测试点功能测试1、是否可以支持免密支付,由收付款支付页面直接跳转到支付成功页面2、银行卡支付卡号正确,零码正确,支付成功3、银行卡支付卡号错误,密码错误,支付失败4、错误次数限制,错1次是否可以重试,错误2次是否可以重试,3次是否会锁卡5、是否支持扫码二维码支付6、是否支持指纹支付7、指纹支
阅读全文
摘要:def func(): ''' 把字符串当中重复的字符打印出来 :return: ''' str1 = 'acbdac' for i in set(str1): if str1.count(i) > 1: print(i) func() 运行结果: a c
阅读全文
摘要:import random,string def verify(): ''' 生成100个随机不重复的字符串 :return: ''' list1=[] new_list=[] while 1: value = ''.join(random.sample(string.ascii_letters+s
阅读全文
摘要:1)pc1会生成一个arp请求包,请求pc2的MAC地址 2)sw1收到arp请求包 3)pc2收到arp请求包,对此数据包进行解析 4)pc2发出的arp应答包到达sw1,将此arp应答包从feth10发送出去 5)pc1收到目的mac地址为自身的此arp应答包,进行解封装 6)sw1收到pc1发
阅读全文
摘要:
阅读全文
摘要:def func(): '''逻辑题''' for i in range(1000): if i%7==0 and (i%2-1)==0 and (i%3-1)==0 and (i%4-1)==0 and (i%5-1)==0 and (i%6-1)==0: if i: print(i) #先打印符
阅读全文
摘要:代码如下: def func(): url = 'http://duoceshi.cn:7076/share/index.html?shareVideoId=-721509&playType=1' dict1={} parms = [i for i in url.split('?')] dict1[
阅读全文