Total[list] gives the total of the elements in list. Total[list, n] totals all elements down to level n. Total[list, {n}] totals elements at level n. Total[list, {n1, n2}] totals elements at levels n1 through n2.
Total the values in a list: In[1]:=Total[{a, b, c, d}] Out[1]=a + b + c + d
AllowedHeads | Method
Method | "CompensatedSummation"
Protected
Plus | Accumulate | Tr | Mean | Count | Norm | Sum | Max | SparseArray
151st most common (1 in 3650 symbols)
213th most common (1 in 3690 symbols)
139th most common (1 in 1770 symbols)
introduced in Version 5 (June 2003) last modified in Version 12 (April 2019)