中间结果一路传下去
运行下面的 Python 3 程序,填写结果。
scores = [80, 90, 70]
total = sum(scores) # 中间结果
avg = total // len(scores) # 用上中间结果
print(avg)
运行下面的 Python 3 程序,填写结果。
scores = [80, 90, 70]
total = sum(scores) # 中间结果
avg = total // len(scores) # 用上中间结果
print(avg)
全部评论