摘要:
# def bubble_sort(list):# n = len(list)# # 循环遍历,外层循环每循环一次,内层循环循环一遍 确定一个最大值# for i in range(n-1):# # 遍历无序序列,找到当前查询范围中最大的数值# for j in range(n-1-i):# # 判 阅读全文
摘要:
# class Fei(object):# def __init__(self,n):# self.n = n# self.num1 = 0# self.num2 = 1# self.current = 0## def __iter__(self):# return self## def __nex 阅读全文