diff --git a/Python3/basics/list.md b/Python3/basics/list.md new file mode 100644 index 0000000..fd191b8 --- /dev/null +++ b/Python3/basics/list.md @@ -0,0 +1,18 @@ +## 列表 + +列表.append (元素):在列表的末尾添加一个元素 + +列表.extend (列表):在列表的末尾添加一个列表 + +列表.insert (位置, 元素):在列表的某个位置插入一个元素 + +列表[位置]:选中列表中的某个元素 + +列表.remove(元素):删除列表的某个元素 + +del 列表[位置]:删除列表中某个位置的元素 + +列表.pop (位置):扔掉(最后一个)元素并返回 + +列表[位置:位置] 位置可为空:列表获取多个元素 + 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.