Testing page: Difference between revisions
Jump to navigation
Jump to search
imported>Sjwhitak No edit summary |
imported>Sjwhitak No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<syntaxhighlight lang="python" line> |
<syntaxhighlight lang="python" line> |
||
def quick_sort(arr): |
def quick_sort(arr): |
||
less = [] |
less = [] |
||
Line 10: | Line 9: | ||
return arr |
return arr |
||
else: |
else: |
||
pass |
pass</syntaxhighlight> |
||
</syntaxhighlight> |
|||
{{Warning|This is a warning that is using the warning template specified by Gentoo!}} |
{{Warning|This is a warning that is using the warning template specified by Gentoo!}} |
||
{{Important|This is an important message!}} |
{{Important|This is an important message!}} |
||
{{Note|This is a notice, something to keep mind of.}} |
{{Note|This is a notice, something to keep mind of.}} |
||
{{Tip|Here's a tip.}} |
|||
{{UserCmd|sudo apt install python3 firefox}} |
|||
{{RootCmd|apt install python3 firefox}} |
|||
These templates are not that great and the <code>=</code> value messes it up: |
|||
{{RootCmd|pip3 update tensorflow==2.5.0}} |
|||
{{RootCmd|pip3 update tensorflow==2.5.0}} |
|||
The second line uses <code>&#x3d;</code> for each equal sign. I'm not sure what causes this. |
Latest revision as of 13:13, 7 April 2022
Edit anything you want on here to goof around or test things.
def quick_sort(arr):
less = []
pivot_list = []
more = []
if len(arr) <= 1:
return arr
else:
pass
Warning
This is a warning that is using the warning template specified by Gentoo!
This is a warning that is using the warning template specified by Gentoo!
Important
This is an important message!
This is an important message!
Note
This is a notice, something to keep mind of.
This is a notice, something to keep mind of.
Tip
Here's a tip.
Here's a tip.
user $
sudo apt install python3 firefox
root #
apt install python3 firefox
These templates are not that great and the =
value messes it up:
root #
{{{1}}}
root #
pip3 update tensorflow==2.5.0
The second line uses =
for each equal sign. I'm not sure what causes this.