第26369题 单选
执行以下Python代码后,输出的结果是?
x = 5
def foo():
    def bar():
        global x
        x = 10
    bar()
    print(x, end="#")
foo()
print(x, end="#")
A

5#5#

B

10#5#

C

5#10#

D

10#10#