Difference between revisions of "Sandbox"
From World Wide Wiegert Wiki - WWWW
								
												
				| Line 17: | Line 17: | ||
| | lang=python }} | | lang=python }} | ||
| Result: | Result: | ||
| <syntaxhighlight lang="python"> | <syntaxhighlight lang="python" line="1"> | ||
| def quick_sort(arr): | def quick_sort(arr): | ||
| 	less = [] | 	less = [] | ||
Revision as of 13:46, 24 January 2021
Welcome!
Syntax highlightning:
Code:
<syntaxhighlight lang="python">
def quick_sort(arr):
	less = []
	pivot_list = []
	more = []
	if len(arr) <= 1:
		return arr
	else:
		pass
</syntaxhighlight>
Result:
def quick_sort(arr):
	less = []
	pivot_list = []
	more = []
	if len(arr) <= 1:
		return arr
	else:
		pass
Supported languages: https://www.mediawiki.org/wiki/Extension:SyntaxHighlight#Supported_languages
