Update python.html.markdown (#4228)

I read somewhere that conventions in naming variables are snake_case and camelCase.
This commit is contained in:
Carlos Tafur 2023-12-14 16:23:10 +01:00 committed by GitHub
parent c5cacb5a51
commit 9e87e133a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,7 +185,7 @@ print("Hello, World", end="!") # => Hello, World!
input_string_var = input("Enter some data: ") # Returns the data as a string input_string_var = input("Enter some data: ") # Returns the data as a string
# There are no declarations, only assignments. # 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
some_var # => 5 some_var # => 5