function average
Computes the average of the list. If the list is empty, the function returns NaN
Parameters
🔗
lst
Return Type