1.从键盘输入23,56,78,90;(不能采用eval函数)采用split函数将数据分割出来,并求平均值
s = input(">>>")s = s.split(",")avg = sum(map(int,s)) / len(s)