Jump to content

Averages/Root mean square: Difference between revisions

→‎{{header|Python}}: make compatible with 2.x
(New task and Python solution.)
 
(→‎{{header|Python}}: make compatible with 2.x)
Line 10:
 
=={{header|Python}}==
<lang Python>>>> from math__future__ import sqrtdivision
>>> from math import sqrt
>>> def qmean(num):
return sqrt(sum(n*n for n in num)/len(num))
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.