python快速排序算法实现 'int' object is not iterable
巴扎黑
巴扎黑 2017-04-17 17:01:37
0
1
403
巴扎黑
巴扎黑

reply all(1)
Ty80

Thank you araraloren!
Oh, I found the error. A low-level error: return quicksort(forehalf)+list(numbers[0])+quicksort(endhalf), list(numbers[0]) is illegal, it should be: return quicksort(forehalf)+[numbers[0]]+ quicksort(endhalf)

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template