dcsxlh

导航

 

2020年9月18日

摘要: 横向输出 1、遍历字符串 2、遍历列表 3、遍历元组 方法一: 方法二: 方法三: #循环字典:方法一# dict1={"name":"zhihao","age":19}# print (type(dict1))# for i in dict1:# print (i,dict1[i]) #循环字典: 阅读全文
posted @ 2020-09-18 16:01 多测师_肖sir 阅读(200) 评论(0) 推荐(0)
 
摘要: (1)通过while 循环来求出1-100之和'''(2)通过while 循环来求出1-100奇数之和'''(3)通过while 循环来求出1-100偶数之和''' 奇数和 sum1=0for i in range(1,101): if i%2 != 0: sum1=sum1+i i+=1print 阅读全文
posted @ 2020-09-18 15:47 多测师_肖sir 阅读(1232) 评论(0) 推荐(0)
 
摘要: 1、字符转换 a =['a','b','c','d','e'] #定义一个列表b =[1,2,3,4,5] #定义一个列表c=zip(a,b)# zip类:可以将两个列表进行拼接,返回一个列表且列表中组合为多个元组# [('a',1),('b',2)]# {}# [('a',1),('b',2)]p 阅读全文
posted @ 2020-09-18 10:44 多测师_肖sir 阅读(190) 评论(0) 推荐(0)
 

2020年9月17日

摘要: 一、关于Mock测试 1、什么是Mock测试?mock测试,源自于英文单词fake,意为假的测试实际工作中用于模拟那些无法实时连接的后端,或是没有开发出来的后端,用于获得结果反馈的一种测试方式。通过发送请求后,模拟后台返回的响应内容来确认当前系统的正确性。Mock 测试就是在测试过程中,对于某些不容 阅读全文
posted @ 2020-09-17 19:06 多测师_肖sir 阅读(396) 评论(0) 推荐(0)
 

2020年9月16日

摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>表格标签</title> </head> <body> <table align="center" border="20" bgcolor="#FF0000" cellspacing 阅读全文
posted @ 2020-09-16 20:17 多测师_肖sir 阅读(190) 评论(0) 推荐(0)
 
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>无序列表标签</title> </head> <body> <ul type="square"> <li>男生 <ul type="circle"> <!--快递生成1个ul标签和3 阅读全文
posted @ 2020-09-16 20:14 多测师_肖sir 阅读(147) 评论(0) 推荐(0)
 
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>有序列表标签</title> </head> <body> <ol type="I"> <li>男生 <ol type="A"> <li>篮球</li> <ol> <li ><fon 阅读全文
posted @ 2020-09-16 20:13 多测师_肖sir 阅读(169) 评论(0) 推荐(0)
 
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>链接标签</title> </head> <body> <!--1.覆盖当前的页面打开--><!-- <!--<a href="http://gz.duoceshi.cn/">多测试 阅读全文
posted @ 2020-09-16 20:09 多测师_肖sir 阅读(148) 评论(0) 推荐(0)
 
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>段落标签</title> </head> <body> <!--p表示p标签、br表示换行、&nbsp表示空格--> <p>深圳多测师信息技术有限公司</p> <p>我是一个&nbs 阅读全文
posted @ 2020-09-16 20:08 多测师_肖sir 阅读(159) 评论(0) 推荐(0)
 
摘要: <html> <head> <meta charset="UTF-8"> <title>段落标签</title> </head> <body> <!--p表示p标签、br表示换行、&nbsp表示空格--> <p>深圳多测师信息技术有限公司</p> <p>我是一个&nbsp;&nbsp;&nbsp;p 阅读全文
posted @ 2020-09-16 20:06 多测师_肖sir 阅读(156) 评论(0) 推荐(0)