From 50366c673137d5b7f3f78a9a1dfdeee801c32e01 Mon Sep 17 00:00:00 2001 From: Ron Date: Wed, 24 May 2017 15:13:08 +0800 Subject: [PATCH 1/4] Update and rename README.md to list.md --- README.md | 37 ------------------------------------- list.md | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 37 deletions(-) delete mode 100644 README.md create mode 100644 list.md diff --git a/README.md b/README.md deleted file mode 100644 index e9d754b..0000000 --- a/README.md +++ /dev/null @@ -1,37 +0,0 @@ -## Welcome to GitHub Pages - -You can use the [editor on GitHub](https://github.com/RonDingDing/ron/edit/master/README.md) to maintain and preview the content for your website in Markdown files. - -Whenever you commit to this repository, GitHub Pages will run [Jekyll](https://jekyllrb.com/) to rebuild the pages in your site, from the content in your Markdown files. - -### Markdown - -Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for - -```markdown -Syntax highlighted code block - -# Header 1 -## Header 2 -### Header 3 - -- Bulleted -- List - -1. Numbered -2. List - -**Bold** and _Italic_ and `Code` text - -[Link](url) and ![Image](src) -``` - -For more details see [GitHub Flavored Markdown](https://guides.github.com/features/mastering-markdown/). - -### Jekyll Themes - -Your Pages site will use the layout and styles from the Jekyll theme you have selected in your [repository settings](https://github.com/RonDingDing/ron/settings). The name of this theme is saved in the Jekyll `_config.yml` configuration file. - -### Support or Contact - -Having trouble with Pages? Check out our [documentation](https://help.github.com/categories/github-pages-basics/) or [contact support](https://github.com/contact) and we’ll help you sort it out. diff --git a/list.md b/list.md new file mode 100644 index 0000000..9b54f00 --- /dev/null +++ b/list.md @@ -0,0 +1,14 @@ +## 列表 + + +### Markdown + +列表.append (元素):在列表的末尾添加一个元素 +列表.extend (列表):在列表的末尾添加一个列表 +列表.insert (位置, 元素):在列表的某个位置插入一个元素 +列表[位置]:选中列表中的某个元素 +列表.remove(元素):删除列表的某个元素 +del 列表[位置]:删除列表中某个位置的元素 +列表.pop (位置):扔掉(最后一个)元素并返回 +列表[位置:位置] 位置可为空:列表获取多个元素 + From 78c8055e68cbe61ee212ecb48f341c5d15900b06 Mon Sep 17 00:00:00 2001 From: Ron Date: Wed, 24 May 2017 15:13:35 +0800 Subject: [PATCH 2/4] Update list.md --- list.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/list.md b/list.md index 9b54f00..ab82cc4 100644 --- a/list.md +++ b/list.md @@ -4,11 +4,18 @@ ### Markdown 列表.append (元素):在列表的末尾添加一个元素 + 列表.extend (列表):在列表的末尾添加一个列表 + 列表.insert (位置, 元素):在列表的某个位置插入一个元素 + 列表[位置]:选中列表中的某个元素 + 列表.remove(元素):删除列表的某个元素 + del 列表[位置]:删除列表中某个位置的元素 + 列表.pop (位置):扔掉(最后一个)元素并返回 + 列表[位置:位置] 位置可为空:列表获取多个元素 From 3672ac3a998ea9ca6cbcfff404e94344e0852be2 Mon Sep 17 00:00:00 2001 From: Ron Date: Wed, 24 May 2017 15:14:03 +0800 Subject: [PATCH 3/4] Update list.md --- list.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/list.md b/list.md index ab82cc4..fd191b8 100644 --- a/list.md +++ b/list.md @@ -1,8 +1,5 @@ ## 列表 - - -### Markdown - + 列表.append (元素):在列表的末尾添加一个元素 列表.extend (列表):在列表的末尾添加一个列表 From 491adb2de08157c80622e529034aed73e66b7b5c Mon Sep 17 00:00:00 2001 From: Ron Date: Wed, 24 May 2017 15:16:02 +0800 Subject: [PATCH 4/4] Rename list.md to Python3/basics/list.md --- list.md => Python3/basics/list.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename list.md => Python3/basics/list.md (100%) diff --git a/list.md b/Python3/basics/list.md similarity index 100% rename from list.md rename to Python3/basics/list.md