# Functions

> Markdown source of <https://docs.calebsargeant.com/programming/python/other/functions/>.

<https://www.w3schools.com/python/python_functions.asp>

``` python
# Function return output of single command
def function1():
  return whatever.thing()

# Function with return end of for loop
def function2():
  for thing in item.values():
    print(thing)
  return
```
