how to define functions in python
# Example 1
def example_function(arg0): # create function with argument
# print the argument gained from executing the function
print(arg0)
example_function("hello") # execute function
# Example 2
def new_function(arg0=None): # create function with argument
# arg0 = None : allow optional input
if arg0 == "hello": # compare arg0 to "hello"
return True # if comparrison success
# return boolean values, ending function
return False # if comparrison failure
check = new_function("hello") # get boolean value from function