- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 Python面试常问的概念性问题搜集
一、python内建数据类型有哪些1、int 整型2、str 字符串3、dict 字典4、list 列表5、tuple 元组6、boor 布尔型 列表 list 字典 dict 元组 tuple 集合 set 表示 [1,'a',3,ture,5] {"name":"zs","age":18,"city":"深圳"...
2020-04-07 16:05:18 171
原创 Python-求输出结果
def fn(k,v,dic={}): dic[k]=v print(dic)fn("one",1)fn("two",2)fn("three",3,{})# {'one': 1}# {'two': 2, 'one': 1}# {'three': 3}
2020-04-07 15:43:09 252
原创 Python-多种方式的列表排序
一、列表排序1、sort排序ls=[2,8,9,0,5,-7,-3,1]ls.sort()print(ls)2、冒泡排序,每次都拿第一个数和下一个比较,小的放前面for j in range(len(ls)): for i in range(len(ls)-1): if ls[i]>ls[i+1]: num=ls[i+1]...
2020-04-07 15:25:48 1018
原创 性能测试loadrunner—脚本
Action(){ //web_add_header("Content-Type","application/json; charset=utf-8"); //web_add_header("Accept","application/soap+xml, application/dime,multipart/related, text/*"); //web_add_h...
2019-01-19 11:25:25 378
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人