summaryrefslogtreecommitdiffhomepage
path: root/python.html.markdown
diff options
context:
space:
mode:
authorCarlos Tafur <ctafur@gmail.com>2023-12-14 16:23:10 +0100
committerGitHub <noreply@github.com>2023-12-14 16:23:10 +0100
commit9e87e133a35ba1033e2627ff0e2ad3f0f482ca0f (patch)
treeb252c613e5930e9d317529d09f5cf032fd862228 /python.html.markdown
parentc5cacb5a51dde18b168d361fbc230bcc8a3e4fae (diff)
Update python.html.markdown (#4228)
I read somewhere that conventions in naming variables are snake_case and camelCase.
Diffstat (limited to 'python.html.markdown')
-rw-r--r--python.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/python.html.markdown b/python.html.markdown
index 75b1ec85..49b46711 100644
--- a/python.html.markdown
+++ b/python.html.markdown
@@ -185,7 +185,7 @@ print("Hello, World", end="!") # => Hello, World!
input_string_var = input("Enter some data: ") # Returns the data as a string
# There are no declarations, only assignments.
-# Convention is to use lower_case_with_underscores
+# Convention in naming variables is snake_case style
some_var = 5
some_var # => 5