题库 Python题库 题目列表 有Python程序段如下:tup=("python","...
单选题

有Python程序段如下:

tup=("python","c++","scratch")
a=tup[0]
b=tup[1]
c=tup[2]
tup1=(c,b,a)
print(tup1)

程序运行后,输出的结果是?( )

A.
('scratch', 'c++', 'python')
B.
('python', 'scratch', 'c++')
C.
('scratch', 'python','c++')
D.
( 'c++','python','scratch')
题目信息
2023年 12月 选择题
66%
正确率
0
评论
55
点击