Data-science/statistics (1) 썸네일형 리스트형 [basic-statitics] hackkerank 10일 기초 통계 code study 1일차 www.hackerrank.com/challenges/s10-basic-statistics/problem Day 0: Mean, Median, and Mode | HackerRank Compute the mean, median, mode, and standard deviation. www.hackerrank.com 평균, 중앙값, 모드를 구하는 건데 엄청 복잡하게 구현한 것 같다. # Enter your code here. Read input from STDIN. Print output to STDOUT import sys numbers = [] mean = 0 median = 0 mode_dict = {} for i, line in enumerate(sys.stdin): if i == 0: length.. 이전 1 다음