单选题

执行下面Python代码后,输出的结果是?(    )

def tpADD(tpl):

      tpl = tpl +(5,6)

      return tpl

tp = (1,2,3)

tpADD(tp)

print(tp,tpADD(tp))

A

(1, 2, 3, 5, 6, 5, 6) (1, 2, 3, 5, 6, 5, 6)

B

(1, 2, 3, 5, 6) (1, 2, 3, 5, 6)

C

(1, 2, 3) (1, 2, 3, 5, 6)

D

(1, 2, 3) (1, 2, 3)

赣ICP备20007335号-2