day 06-02 元组(tuple)

a = (1,2,3,4)

# print(a[1:3])

a[1] = 5
print(a)   #我们只能查看,不能修改

原文地址:https://www.cnblogs.com/minkillmax/p/7966804.html