【单选题】对于如下代码,以下说法正确的是:( ) def foo(): x = 1 xList.append("a") xList = ["b", "c"] x = 5 foo(x, xList)
A.
执行完foo(x, xList)后x的值等于1,xList的值等于["b", "c", "a"]
B.
执行完foo(x, xList)后x的值等于5,xList的值等于["b", "c", "a"]
C.
执行完foo(x, xList)后x的值等于1,xList的值等于["b", "c"]
D.
执行完foo(x, xList)后x的值等于5,xList的值等于["b", "c"]