摘要:
题目一: 首先 代码实现1-100奇数求和 其次 用一行代码实现 total=0for i in range(1,101): ... 阅读全文
posted @ 2022-10-07 20:31
I'm_江河湖海
阅读(19)
评论(0)
推荐(0)
摘要:
题目一 输入一个字符串,判断是否为回文数 # “回文”是指正读反读都能读通的句子,它是古今中外都有的一种修辞方式和文字游戏,如“我为... 阅读全文
posted @ 2022-10-07 20:31
I'm_江河湖海
阅读(80)
评论(0)
推荐(0)
摘要:
题目一 输入一个字符串,判断是否为回文数 # “回文”是指正读反读都能读通的句子,它是古今中外都有的一种修辞方式和文字游戏,如“我为... 阅读全文
posted @ 2022-10-07 20:31
I'm_江河湖海
阅读(15)
评论(0)
推荐(0)
摘要:
题目一 冒泡排序 由小到大的顺序 '''第一个是自己写的temLst=[1,3,53,6,7,35,63,6,4,7,5,6,7,3... 阅读全文
posted @ 2022-10-07 20:31
I'm_江河湖海
阅读(51)
评论(0)
推荐(0)
摘要:
题目一 冒泡排序 由小到大的顺序 '''第一个是自己写的temLst=[1,3,53,6,7,35,63,6,4,7,5,6,7,3... 阅读全文
posted @ 2022-10-07 20:31
I'm_江河湖海
阅读(16)
评论(0)
推荐(0)
摘要:
解析一个database的xml文件 """ localhost root 111... 阅读全文
posted @ 2022-10-07 20:31
I'm_江河湖海
阅读(9)
评论(0)
推荐(0)
摘要:
一:储备知识 **1.*args, kwargs def index(x,y): print(x,y)def wrapper(... 阅读全文
posted @ 2022-10-07 20:31
I'm_江河湖海
阅读(11)
评论(0)
推荐(0)
摘要:
方式一 循环 temStr='adbeorj1305'newStr=''i=0while i0: S1=S1+L1.pop()... 阅读全文
posted @ 2022-10-07 20:31
I'm_江河湖海
阅读(7)
评论(0)
推荐(0)
摘要:
简介 Python 字典(Dictionary) fromkeys() 函数用于创建一个新字典,以序列seq中元素做字典的键,val... 阅读全文
posted @ 2022-10-07 20:31
I'm_江河湖海
阅读(27)
评论(0)
推荐(0)
摘要:
dict(字典) Python内置了字典:dict的支持,dict全称dictionary,在其他语言中也称为map,使用键-值(k... 阅读全文
posted @ 2022-10-07 20:31
I'm_江河湖海
阅读(9)
评论(0)
推荐(0)

浙公网安备 33010602011771号