使用当前浏览器访问考试宝,无法享受最佳体验,推荐使用 Chrome 浏览器进行访问。
更新时间: 试题数量: 购买人数: 提供作者:
有效期: 个月
章节介绍: 共有个章节
我的错题 (0道)
我的收藏 (0道)
我的斩题 (0道)
我的笔记 (0道)
顺序练习 0 / 0
随机练习 自定义设置练习量
题型乱序 按导入顺序练习
模拟考试 仿真模拟
题型练习 按题型分类练习
易错题 精选高频易错题
学习资料 考试学习相关信息
def ins_sort_rec(seq, i):
if i ==0:return
ins_sort_rec(seq, i-1)
j=i
while j> 0 and seq[j-1]>seq[j]:
seq[j-1], seq[j]= seq[j], seq[j-1]
j-=1
seq=[3,-6,79,45,8,12,6,8]
ins_sort_rec(seq, len(seq)-1)
print(*seq)
x=10y=20def swap(): x,y=y,x
print(x,y)
dct={'a':60,'b':90,'c':70,'d':80}print(sorted(dct, key=lambda x:dct[x], reverse=True))
def scope(): n=4 m=5 print(m,n, end=' ')n=5t=8scope()print(n,t)