You are viewing a single comment's thread. Return to all comments →
#python import statistics from collections import Counter n=int(input()) arr=list(map(int, input().split())) print(round(statistics.mean(arr), 1)) print(round(statistics.median(arr), 1)) a=Counter(arr).most_common() print(round(min([x for x, y in a if y==a[0][1]]), 1))
Seems like cookies are disabled on this browser, please enable them to open this website
Day 0: Mean, Median, and Mode
You are viewing a single comment's thread. Return to all comments →