Back

Code Challenge 4.4 - Average Finder


Objective

Your task is to write a program that calculates the average value of a collection. You will implement a function to find the average value.

Skills to Practice

Challenge Tasks

Python

def find_average(collection):
# code here

C#

double FindAverage(int[] collection)
{
// code here
}
// -or-
double FindAverage(List<int> collection)
{
// code here
}