SUM
The function SUM takes a List of Numbers and adds them all together.
This function takes a List of Numbers as input. It outputs a single Number: the sum up every number in the List, added together.
Declaration
Parameters
list_of_numbers (type: List) A list of Numbers to add together.
Return Values
sum_of_numbers (type: Number) Number representing the sum of all the Numbers in the given List.
Examples
The following example takes a List of Numbers and returns the sum of all the Numbers in the given List:
Last updated