# coding: utf-8
# @Time: 2021/9/3 13:17
# @Author: Bing
# @File: 013_tuple
# @Project: basic
a_tuple = (1, 2, 3, 4)
print(a_tuple[1:3])
# 元组不可以修改
# a_tuple[3]=5
# print(a_tuple)

b_tuple = (1)
print(b_tuple)
print(type(b_tuple))
b_tuple = (1,)
print(b_tuple)
print(type(b_tuple))
