课程
/后端开发
/Python
/初识Python
L = [75, 92, 59, 68]
sum = 0.0
for L in sum:
print sum / 4
2016-12-22
源自:初识Python 5-4
正在回答
L=[75,92,59,68]
sum=0.0
for i in L:
sum=sum+i
print sum/len(L)
for x in L:
sum += x
print sum / len(L)
举报
学python入门视频教程,让你快速入门并能编写简单的Python程序