第13582题 单选题
执行如下Python元组操作代码后,输出的结果是?
t1 = ("python", "c++", "scratch")
t2 = tuple(i for i in t1[::-1])
print(t2)
A

('scratch', 'c++', 'python')

B

('python', 'scratch', 'c++')

C

('scratch', 'python','c++')

D

('c++','python','scratch')

程序运行统计
暂无判题统计
提交0次 正确率0.00%
答案解析