单选题

有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')

赣ICP备20007335号-2