Code Wars - Calculate Average
The Problem Statement
Write a function that calculates the average of the numbers in a given list.
For example, let the array be [1,2,3,4,5]. The average will be 3.
The formula for average is the "total of items/ no.of items".
If we sum the total o...
codingkiran.hashnode.dev5 min read