a = (1,2,3,4) # print(a[1:3]) a[1] = 5 print(a) #我们只能查看,不能修改
day 06-02 元组(tuple)
原文:http://www.cnblogs.com/minkillmax/p/7966804.html