import statistics as st s = [3, 1, 4, 1, 5, 9] print('データ = ', s) print('平均値 = ', st.mean(s)) print('中央値 = ', st.median(s)) print('最頻値 = ', st.mode(s)) データ = [3, 1, 4, 1, 5, 9] 平均値 = 3.8333333333333335 中央値 = 3.5 最頻値 = 1 from, import from statistics import mean, median, mode s = [3, 1, 4, 1, 5, 9] print('データ = ', s) print('平均値 = ', mean(s)) print('中央値 = ', median(s)) print('最頻値 = ', mode(s)) from s