python function definition snake case convention code example
Example 1: camelcase naming convention python
# CamelCase is the way you are meant to name classes:
class ExampleClass(self):
pass
# Start each word with a capital
# Don't seperate words with underscores
Example 2: pep 8 function
# Pep 8 Style Guide for function definition. Function names are snake case
def function_name():