Difference between revisions of "Deep Sea Knowledge:Sandbox"

From Deep Sea Knowledge
Jump to navigation Jump to search
(create sandbox page)
 
(testing syntax highlight)
Line 1: Line 1:
 
'''This is a sandbox for testing edits - content can be added and deleted by anybody at any time, so don't store anything important here. Make your changes below this line.'''
 
'''This is a sandbox for testing edits - content can be added and deleted by anybody at any time, so don't store anything important here. Make your changes below this line.'''
 +
 +
<syntaxhighlight lang="Python" line='line'>
 +
def quickSort(arr):
 +
less = []
 +
pivotList = []
 +
more = []
 +
if len(arr) <= 1:
 +
return arr
 +
else:
 +
pass
 +
</syntaxhighlight>

Revision as of 03:37, 13 November 2018

This is a sandbox for testing edits - content can be added and deleted by anybody at any time, so don't store anything important here. Make your changes below this line.

1 def quickSort(arr):
2 	less = []
3 	pivotList = []
4 	more = []
5 	if len(arr) <= 1:
6 		return arr
7 	else:
8 		pass