You are viewing a single comment's thread. Return to all comments →
Why stats.mode ??
import numpy as np
arr = [input().split()] arr1 = np.array(arr).astype(np.float) index= [0] arr2 = np.delete(arr1,index) print (arr2.mean()) print (arr2.sum()/2) print (arr2.min())
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 →
Why stats.mode ??
/env/python
import numpy as np
arr = [input().split()] arr1 = np.array(arr).astype(np.float) index= [0] arr2 = np.delete(arr1,index) print (arr2.mean()) print (arr2.sum()/2) print (arr2.min())