python list中方法使用
list中方法的使用:
| count(self, value, /)
| Return number of occurrences of value.
|
| extend(self, iterable, /)
| Extend list by appending elements from the iterable.
|
| index(self, value, start=0, stop=9223372036854775807, /)
| Return first index of value.
|
原创
2021-08-17 09:37:11 ·
139 阅读 ·
0 评论