From d72cd4fe2cf5de1df4332ab22877ce4f5687a4c1 Mon Sep 17 00:00:00 2001 From: Donne Martin Date: Fri, 29 May 2015 06:51:04 -0400 Subject: [PATCH] Code cleanup. --- sorting-searching/quick-sort.ipynb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sorting-searching/quick-sort.ipynb b/sorting-searching/quick-sort.ipynb index 01c7007..34d5e64 100644 --- a/sorting-searching/quick-sort.ipynb +++ b/sorting-searching/quick-sort.ipynb @@ -101,12 +101,10 @@ "source": [ "print('Empty input')\n", "data = []\n", - "#quick_sort(data)\n", - "print(data)\n", + "print(quick_sort(data))\n", "print('One element')\n", "data = [5]\n", - "#quick_sort(data)\n", - "print(data)\n", + "print(quick_sort(data))\n", "print('Two or more elements')\n", "data = [5, 1, 7, 2, 6, -3, 5, 7, -1]\n", "print(quick_sort(data))"