扫码关注官方订阅号
谢谢 araraloren!哦,我找到了错误所在。一个低级错误return quicksort(forehalf)+list(numbers[0])+quicksort(endhalf)中,list(numbers[0])是非法的,应该为:return quicksort(forehalf)+[numbers[0]]+quicksort(endhalf)
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
谢谢 araraloren!
哦,我找到了错误所在。一个低级错误return quicksort(forehalf)+list(numbers[0])+quicksort(endhalf)中,list(numbers[0])是非法的,应该为:return quicksort(forehalf)+[numbers[0]]+quicksort(endhalf)