通用序列操作:索引:greeting=hellogreeting[0] 分片:number[1,2,3,4,5,6]number[3:6]number[3:6:1] 序列相加:[1,2,3] + [4,5,6][1,2,3,4,5,6]乘法'p' * 5'ppppp' 成员次格:permissions = 'rw' 'w' in permissionsTrue'x' in permissionsFalse 长度,最大值,最小值numbers = [100, 33, 355]len(numbers…