Python包含以下函数:
Python包含以下函数:
|
序号 |
函数 |
|
1 |
len(list) |
|
2 |
max(list) |
|
3 |
min(list) |
|
4 |
list(seq) |
Python包含以下方法:
|
序号 |
方法 |
|
1 |
list.append(obj) |
|
2 |
list.count(obj) |
|
3 |
list.extend(seq) |
|
4 |
list.index(obj) |
|
5 |
list.insert(index, obj) |
|
6 |
list.pop([index=-1]) |
|
7 |
list.remove(obj) |
|
8 |
list.reverse() |
|
9 |
欢迎大家批评指正,指出问题,谢谢!

浙公网安备 33010602011771号