标签: python-3.x
我已经尝试过该程序,但出现错误,没有属性错误?
import statistics data = [11, 21, 11, 19, 46, 21, 19, 29, 21, 18, 3, 11, 11] x = statistics.mean(data) print(x) y = statistics.median(data) print(y) z = statistics.mode(data) print(z)