1、计算长度
>>> A = ["mn","cd","ef","kl","wq","rt"];
>>> len(A);
6
>>>
2、计算最小值
>>> B = [21,45,67,88,98,33,56,12,1,3];
>>> min(B);
1
>>>
3、计算最大值
>>> C = [567,234,544,678,900,778,123,654];
>>> max(C);
900
>>>
4、计算求和
>>> D = [23,55,66,77,88,99];
>>> sum(D);
408
>>>
5、列表排序
>>> E = [23,45,66,21,12,33,78,90,65];
>>> sorted(E);
[12, 21, 23, 33, 45, 65, 66, 78, 90]
>>>
6、列表反序
>>> F = [1,4,5,2,7,8,9,0];
>>> reversed(F);
<list_reverseiterator object at 0x0000000002D65630>
>>>