均值定义及实例

 

 

def Mean(t):
    """均值"""
    return float(sum(t)) / len(t)

 

 

posted @ 2014-07-14 10:41  data80386  阅读(202)  评论(0编辑  收藏  举报