分析下面的程序,如果程序能通过编译,请列出运行结果,否则请说明导致编译失败的原因,并列出改正后的
def func(): x=200 def func2(): print(x) func2() x=100 func() print(x)
100
200100