两种表达,第二种错的吗
L = [75, 92, 59, 68]
sum = 0.0
for name in L:
sum+=name
print sum / 4
L = [75, 92, 59, 68]
sum = 0.0
for name in L:
sum=sum+name
print sum / 4
第二种错的吗
L = [75, 92, 59, 68]
sum = 0.0
for name in L:
sum+=name
print sum / 4
L = [75, 92, 59, 68]
sum = 0.0
for name in L:
sum=sum+name
print sum / 4
第二种错的吗
2016-06-15
举报