Difference between revisions of "Playground"
From Pixelmon Wiki
m |
m |
||
Line 1: | Line 1: | ||
− | {{DISPLAYTITLE}} | + | {{DISPLAYTITLE:The Playground}} |
<h1 class="display-1">Heading 1</h1> | <h1 class="display-1">Heading 1</h1> | ||
Line 8: | Line 8: | ||
<h1 class="display-6">Heading 6</h1> | <h1 class="display-6">Heading 6</h1> | ||
+ | |||
+ | <syntaxhighlight> | ||
+ | def quick_sort(arr): | ||
+ | less = [] | ||
+ | pivot_list = [] | ||
+ | more = [] | ||
+ | if len(arr) <= 1: | ||
+ | return arr | ||
+ | </syntaxhighlight> | ||
[[File:day.png]][[File:dawn.png]][[File:dusk.png]][[File:night.png]] | [[File:day.png]][[File:dawn.png]][[File:dusk.png]][[File:night.png]] |
Revision as of 22:00, 8 October 2021
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
def quick_sort(arr):
less = []
pivot_list = []
more = []
if len(arr) <= 1:
return arr