单选题

有以下程序,运行程序输出的结果是? ( )

x=1

def demo(): 

    x=2 

    print(x) 

demo() 

print(x)

A

B

C

D

赣ICP备20007335号-2