Difference between revisions of "Sandbox"

From World Wide Wiegert Wiki - WWWW
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
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 = []
Line 28: Line 28:
</syntaxhighlight>
</syntaxhighlight>
Supported languages: https://www.mediawiki.org/wiki/Extension:SyntaxHighlight#Supported_languages
Supported languages: https://www.mediawiki.org/wiki/Extension:SyntaxHighlight#Supported_languages
[[File:8472.png]]

Latest revision as of 16:49, 20 November 2023

Welcome!

Random link

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


8472.png