Javascript Find Average Of Array Python Methods W3schools