依赖外部数据的那一步

👁️ 0 人浏览 💬 0 人评论 ❤️ 添加收藏

运行下面的 Python 3 程序,填写结果。

scores = [80, 90, 70]

def get_average():
    return sum(scores) // len(scores)   # 直接用了外面的 scores

print(get_average())
提交你的答案
请登录后提交答案。
去登录
代码编辑器
Ctrl + Enter 运行
本次输入:
输出:

                        
👩‍🏫
AI
💬 题目评论

全部评论