grammatical fixes

This commit is contained in:
Lorna Lan
2019-06-25 13:48:23 +08:00
committed by Kristofer Koishigawa
parent 27023748af
commit ff72d212da
@@ -2,9 +2,9 @@
title: List Append Method
localeTitle: 列出追加方法
---
## 列出追加方法
## 列表方法 - 增加新元素到列表
列表有很多方法,您可以通过在python控制台中键入`help(list)`来探索所有这些方法。 其中之一是append函数,正如名称所示,附加给定列表的参数。
列表有很多方法,您可以通过在python控制台中键入`help(list)`来探索所有这些方法。 其中之一是append函数,正如名称所示,其可以增加给定列表的参数。
#### 示例用法
@@ -19,8 +19,8 @@ words = ["I", "love", "Python"]
["I", "love", "Python", "very much"]
```
您可能已经注意到, `"very much"`的元素会附加到列表中。
您可能已经注意到, 在执行append命令以后,元素`"very much"`被加到了列表的末尾。
#### 更多信息:
`append()`的官方文档可以在[这里](https://docs.python.org/3.6/tutorial/datastructures.html)找到
`append()`的官方文档可以在[这里](https://docs.python.org/3.6/tutorial/datastructures.html)找到