tup1 = ('Google','Runoob',1997,2000) tup2 = (1,2,3,4,5,6,7) print(tup1[0]) print(tup2[1:4])
print("第二到第四个元素"+str(tup2[1:4]))