预测完整程序的输出
运行下面的 Python 3 程序,填写结果。
scores = [80, 90, 70]
total = sum(scores)
avg = total // len(scores)
count = 0
for s in scores:
if s < avg:
count = count + 1
print(count)
运行下面的 Python 3 程序,填写结果。
scores = [80, 90, 70]
total = sum(scores)
avg = total // len(scores)
count = 0
for s in scores:
if s < avg:
count = count + 1
print(count)
全部评论