Python: Difference between revisions

From Cheatsheet
Jump to navigationJump to search
(Created page with "== Template == <syntaxhighlight lang="python"> </syntaxhighlight> == Common == <syntaxhighlight lang="python"> </syntaxhighlight>")
 
No edit summary
Line 1: Line 1:
== Basic Syntax ==
<syntaxhighlight lang="python">
# Leave a comment by prepending a "#" to your line
# Print "Hello World"
print("Hello, World!")
</syntaxhighlight>
== Template ==
== Template ==
<syntaxhighlight lang="python">
<syntaxhighlight lang="python">

Revision as of 11:07, 7 February 2024

Basic Syntax

# Leave a comment by prepending a "#" to your line

# Print "Hello World"
print("Hello, World!")

Template



Common