第28014题 单选题
分析如下Python代码,关于代码中关键字使用与输出结果的说法正确的是?
total = 100
def add():
    total = 200
    def inner():
        # 请选择正确的关键字使用对应的输出结果
        total += 50
        print(total)
    inner()
    print(total)
add()
print(total)
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析