元组变量t=(“cat”,“dog”,“tiger”,“human”),t[::-1]的结果是(5.0分)
A.{‘human’,‘tiger’,‘dog’,‘cat’}
B.(‘human’,‘tiger’,‘dog’,‘cat’)
C.[‘human’,‘tiger’,‘dog’,‘cat’]
D.运行出错
正确答案B
元组变量t=(“cat”,“dog”,“tiger”,“human”),t[::-1]的结果是(5.0分)
A.{‘human’,‘tiger’,‘dog’,‘cat’}
B.(‘human’,‘tiger’,‘dog’,‘cat’)
C.[‘human’,‘tiger’,‘dog’,‘cat’]
D.运行出错
正确答案B