avg

From The K Language Wiki
Avg
avg x
Supported in K7, K9

avg computes the average of a numeric or character array in K.

 avg 1 2 3
2.
 avg 67 78 1
48.66667
 avg "abc"
98.