Scripting Basics: Difference between revisions

From San Andreas Multiplayer
Jump to navigationJump to search
Created page with "<syntaxhighlight lang="python" line> def quick_sort(arr): less = [] pivot_list = [] more = [] if len(arr) <= 1: return arr else: pass </syntaxhighlight>"
 
No edit summary
Tag: Reverted
Line 1: Line 1:
<syntaxhighlight lang="python" line>
<syntaxhighlight lang="python">
def quick_sort(arr):
def hello_world():
less = []
    print("Hello, World!")
pivot_list = []
more = []
if len(arr) <= 1:
return arr
else:
pass
</syntaxhighlight>
</syntaxhighlight>

Revision as of 18:07, 2 November 2024

def hello_world():
    print("Hello, World!")