首页
›
答案
›
题库
›
知识竞赛未分类
元组变量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’)(正确答案)
标签:
Python程序设计
变量
上一条:
字典d={‘Name’:‘Kate’,‘No’:‘1001’,‘Age’:‘20’},表达式len(d)的值为()
下一条:
以下关于字典的描述,错误的是:()