未分类 · 2025年11月21日

请阅读下面的代码:num_one = 12def sum(num_two):global num_onenum_one = 90return num_one + num_twoprint(sum(10))运行代码,输出结果为( )。 A.100 B.12 C.22 D.102

请阅读下面的代码:num_one = 12def sum(num_two):global num_onenum_one = 90return num_one + num_twoprint(sum(10))运行代码,输出结果为( )。 A.100 B.12 C.22 D.102

正确答案:A