How-to · Lists
Compute the average (mean) of a list of numbers
Softanza
Q([ 2, 4, 6 ]).Average() #--> 4
Output
4
ran: printed what the recipe promises
run on 2026-10-02 22:33 inside the library at commit 0e72e2e2c; the expression carrying the promise was printed for the run · The recipe on GitHub(opens in a new tab)
The methods
See also
Words for this task: average, mean, avg, typical value, arithmetic mean

