单选题

运行下列这段程序,正确的输出结果是?( )

LS = ["apple", "red", "orange"]

def funb(a):

    LS.append(a)

funb("yellow")

print(LS)

A

["apple","red","orange"]

B

["apple","red","orange","yellow"]

C

[]

D

["yellow"]

赣ICP备20007335号-2