Python 常见笔试程序题——不定期更新

1.冒泡排序 #sort.py def Sort(list): for j in range(len(list) - 1): count = 0 for i in range(0,len(list) - 1 - j): if list[i] > list[i + 1]: list[i],list[i +
相关文章
相关标签/搜索