执行以下Python代码,最终的输出结果是什么?
num = 1
def test_func():
num = 2
print(num)
test_func()
print(num)
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析