tuple1 = ('Google', 'Runoob', 'Taobao')
# 计算元组元素个数
lensize=len(tuple1)
print(lensize)
# 返回元组元素最大值和最小值
tuple2 = ('5', '4', '8')
maxsize=max(tuple2)
minsize=min(tuple2)
print(maxsize)
print(minsize)
# 将列表转为元组
list= ['Google', 'Taobao', 'Runoob', 'Baidu']
tuple3=tuple(list)
print(tuple3)