grammatical fixes

This commit is contained in:
Lorna Lan
2018-10-19 22:58:49 -07:00
committed by Kristofer Koishigawa
parent 27023748af
commit ff72d212da

View File

@ -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)找到