sum¶
Hook for summing a list of numbers.
Inputs¶
Name | Type | Default | Required | Description |
---|---|---|---|---|
input | list | True | The list to sum. | |
attribute | str | None | None | False |
Arguments¶
Position | Argument | Type |
---|---|---|
1 | input | list |
Returns¶
int | float
Examples¶
Sum a list of numbers
total->: sum [1, 2, 3, 4, 5]
total: 15