from functools import reduce def sumAB(a, B)/>: c = a + b return c def meanMedianMode(numbers): calculate = { 'mean': reduce(sumAB, numbers) / len(numbers), # count how many numbers, add 1 then divide by 2 'median': reduce(), # count number occurs most often 'mode': reduce()} return calculate mmm_dict = meanMedianMode([1, 2, 6, 7, 8, 9, 3, 4, 5, 10, 10]) print(mmm_dict)

How do I do this, do I need to create another function?

Can someone walk me through accomplishing this?

This post has been edited by **uwl**: 22 September 2018 - 02:58 PM