# -*- coding: utf-8 -*-
# @Time    : 2020/3/27 14:33
# @Author  : guoyunfei.0603
# @File    : review_tuple.py
# 切片
tup1 = ("hello",1,2,3,4,"No")
print(tup1[1:4])

# 元组不允许增删改
# tup1[0]=10
# print(tup1)TypeError: 'tuple' object does not support item assignment

