Commit 455f18cd by yangpengflag

update 2_homework_bubbleSort

parent f7390e87
''' '''
实现冒泡排序 实现冒泡排序
传入参数:nums 需要排序的数组 传入参数:nums 需要排序的数组
传入参数:isAsc 排序模式,升还是降序,默认升序 传入参数:isAsc 排序模式,升还是降序,默认升序
''' '''
def bubbleSort(nums,isAsc): def bubbleSort(nums,isAsc):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment