function name good practice python code example
Example 1: python naming conventions
#module names should be all lowercase
import mymodule
#normal variables are lowercase_with_underscores
my_variable = 'value'
#constants are UPPERCASE
CONSTANT = 'never changes'
#classes are UpperCaseCamelCase
class MyClass(self):
pass
Example 2: pep 8 function
# Pep 8 Style Guide for function definition. Function names are snake case
def function_name():