如何用python计算基本统计值?用python计算基本统计值的代码为def getNum(): #从控制台获取多个不确定数据的方法nums = [];iNumStr = input("请输入数字(回车退出):");wh