day 06-02 元组(tuple)

a = (1,2,3,4)

# print(a[1:3])

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

posted @ 2017-12-03 18:42  minkillmax  阅读(118)  评论(0编辑  收藏  举报