1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-07-31 03:50:32 +02:00

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

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
# 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