请问为什么我的print是78.0不是78.6呢?谢谢
# Enter a code
L = [75, 92, 59, 68, 99]
total_score = 0
for score in L:
total_score += score
average_score = total_score/len(L)
print(float(average_score))
# Enter a code
L = [75, 92, 59, 68, 99]
total_score = 0
for score in L:
total_score += score
average_score = total_score/len(L)
print(float(average_score))
举报