function naming python 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: python naming script
# Function gets name from user
def get_name():
print("Hello what is your name?")
name = input("My name is: ")
print("Hello ", name)
return name