第26365题
执行如下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)

提交0次 正确率0.00%
答案解析