not working in Quick Sort script
To: tutor@python.org
Date: Thursday, October 29, 2015, 9:12 PM
On 29/10/15 19:11, Patti
Scott via Tutor wrote:
Caveat: I didn't check the algorithms for
correctness,
I'll just take your word
for that.
> My
accumulator variable to cou
On 29/10/15 19:11, Patti Scott via Tutor wrote:
Caveat: I didn't check the algorithms for correctness,
I'll just take your word for that.
My accumulator variable to count the number of comparisons returns nonsense.
def quick_sort(A, start, stop, count):
if start < stop:
# incre