Averages/Arithmetic mean: Difference between revisions
Undo revision 330156 by Willi64 (talk)
Tag: Undo |
Tag: Undo |
||
Line 2,677:
len swap sum swap / print</syntaxhighlight>
=={{header|
<syntaxhighlight lang="
if ($nums)
echo array_sum($nums) / count($nums), "\n";
else
echo "0\n";</syntaxhighlight>
=={{header|PicoLisp}}==
|