序列 序列包括:字符串、列表和元组。 序列的操作 # s是一个序列 len(s) # 获取长度 sorted(s, key=str.lower, reverse=True)#排序内置函数,也可用于非序列的collection s[0] # 索引 s