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