Min, Max, Mean, Median and Mod

maths-blackboardIn this Python challenge we will manipulate a list of numbers to calculate the Min, Max, Mean, Median and Mod of all these numbers.

First you may want to refresh your maths skills and check the meaning of these terms: http://www.purplemath.com/modules/meanmode.htm

Our Python code will first generate a random list of numbers.

We then added a few lines of code to calculate the min value. Your task is to complete this code to calculate the max, mean, median and mod values using a similar approach.

Share Button
Posted in Computer Science, Python - Intermediate, Python Challenges Tagged with: ,

Our Latest Book

Follow this blog