Difference between revisions of "Sandbox3"

From UVOO Wiki
Jump to navigation Jump to search
Line 1: Line 1:
−
<syntaxhighlight lang="python" style="border:3px dashed blue">
+
<syntaxhighlight lang="python">
 
def quick_sort(arr):
 
def quick_sort(arr):
 
less = []
 
less = []

Revision as of 20:31, 18 January 2020

def quick_sort(arr):
    less = []
    pivot_list = []
    more = []
    if len(arr) &lt;= 1:
        return arr
    else:
        pass