左边例子的代码怎么在IDLE里面敲不出来结果?
L = [75, 98, 59, 81, 66, 43, 69, 85]
sum = 0.0
n = 0for x in L:
sum = sum + x
n = n + 1
print sum / n
L = [75, 98, 59, 81, 66, 43, 69, 85]
sum = 0.0
n = 0for x in L:
sum = sum + x
n = n + 1
print sum / n
2018-02-04
举报