首页 › 答案 › 题库 › 知识竞赛未分类

元组变量t=(“cat”,“dog”,“tiger”,“human”),t[::-1]的结果是()

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