average¶
Hook for taking the average of a list of numbers.
Inputs¶
Name | Type | Default | Required | Description |
---|---|---|---|---|
input | list | True | The list to calculate the average from. | |
attribute | str | None | None | False |
Arguments¶
Position | Argument | Type |
---|---|---|
1 | input | list |
Returns¶
int | float
Examples¶
Calculate the average of a list of numbers
avg->: average [1, 2, 3, 4, 5]
avg: 3.0