diff options
author | Carlos Tafur <ctafur@gmail.com> | 2023-12-14 16:23:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-14 16:23:10 +0100 |
commit | 9e87e133a35ba1033e2627ff0e2ad3f0f482ca0f (patch) | |
tree | b252c613e5930e9d317529d09f5cf032fd862228 | |
parent | c5cacb5a51dde18b168d361fbc230bcc8a3e4fae (diff) |
Update python.html.markdown (#4228)
I read somewhere that conventions in naming variables are snake_case and camelCase.
-rw-r--r-- | python.html.markdown | 2 |
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 |