Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Article/PythonBasis/python3/List.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ print(name)
|[1, 2, 3] + [4, 5, 6]| [1, 2, 3, 4, 5, 6]| 组合|
|['Hi!'] * 4|['Hi!', 'Hi!', 'Hi!', 'Hi!']|复制|
|3 in [1, 2, 3]|True|元素是否存在于列表中|
|for x in [1, 2, 3]: print x,|1 2 3|迭代|
|for x in [1, 2, 3]: print(x)|1 2 3|迭代|


## 7、List (列表)函数&方法 ##
Expand Down
2 changes: 1 addition & 1 deletion Article/PythonBasis/python4/Dict.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ print(dict1)
|dict.clear()|删除字典内所有元素|
|dict.copy()|返回一个字典的浅复制|
|dict.values()|以列表返回字典中的所有值|
|popitem()|随机返回并删除字典中的一对键和值|
|dict.popitem()|随机返回并删除字典中的一对键和值|
|dict.items()|以列表返回可遍历的(键, 值) 元组数组|


Expand Down